Struct apache_avro::SpecificSingleObjectReader
source · pub struct SpecificSingleObjectReader<T>where
T: AvroSchema,{ /* private fields */ }
Implementations§
source§impl<T> SpecificSingleObjectReader<T>where
T: AvroSchema,
impl<T> SpecificSingleObjectReader<T>where T: AvroSchema,
pub fn new() -> AvroResult<SpecificSingleObjectReader<T>>
source§impl<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>
source§impl<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§
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