Enum mz_avro::ValueOrReader
source · pub enum ValueOrReader<'a, V, R: AvroRead> {
Value(V),
Reader {
len: usize,
r: &'a mut R,
},
}
Variants§
Auto Trait Implementations§
impl<'a, V, R> RefUnwindSafe for ValueOrReader<'a, V, R>where
R: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, V, R> Send for ValueOrReader<'a, V, R>
impl<'a, V, R> Sync for ValueOrReader<'a, V, R>
impl<'a, V, R> Unpin for ValueOrReader<'a, V, R>where
V: Unpin,
impl<'a, V, R> !UnwindSafe for ValueOrReader<'a, V, R>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more