Struct apache_avro::SpecificSingleObjectReader
source · [−]pub struct SpecificSingleObjectReader<T> where
T: AvroSchema, { /* private fields */ }
Implementations
sourceimpl<T> SpecificSingleObjectReader<T> where
T: AvroSchema,
impl<T> SpecificSingleObjectReader<T> where
T: AvroSchema,
pub fn new() -> AvroResult<SpecificSingleObjectReader<T>>
sourceimpl<T> SpecificSingleObjectReader<T> where
T: AvroSchema + From<Value>,
impl<T> SpecificSingleObjectReader<T> where
T: AvroSchema + From<Value>,
pub fn read_from_value<R: Read>(&self, reader: &mut R) -> AvroResult<T>
sourceimpl<T> SpecificSingleObjectReader<T> where
T: AvroSchema + DeserializeOwned,
impl<T> SpecificSingleObjectReader<T> where
T: AvroSchema + DeserializeOwned,
pub fn read<R: Read>(&self, reader: &mut R) -> AvroResult<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for SpecificSingleObjectReader<T> where
T: RefUnwindSafe,
impl<T> Send for SpecificSingleObjectReader<T> where
T: Send,
impl<T> Sync for SpecificSingleObjectReader<T> where
T: Sync,
impl<T> Unpin for SpecificSingleObjectReader<T> where
T: Unpin,
impl<T> UnwindSafe for SpecificSingleObjectReader<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more