pub struct SpecificDatumReader<T: AvroSchema> { /* private fields */ }Expand description
Reader for reading raw Avro data.
This is most likely not what you need. Most users should use Reader,
GenericSingleObjectReader, or
SpecificSingleObjectReader instead.
Implementations§
Source§impl<T: AvroSchema> SpecificDatumReader<T>
impl<T: AvroSchema> SpecificDatumReader<T>
Sourcepub fn builder() -> SpecificDatumReaderBuilder<T>
pub fn builder() -> SpecificDatumReaderBuilder<T>
Build a SpecificDatumReader.
This is most likely not what you need. Most users should use Reader,
GenericSingleObjectReader, or
SpecificSingleObjectReader instead.
Source§impl<T: AvroSchema + DeserializeOwned> SpecificDatumReader<T>
impl<T: AvroSchema + DeserializeOwned> SpecificDatumReader<T>
pub fn read<R: Read>(&self, reader: &mut R) -> AvroResult<T>
Auto Trait Implementations§
impl<T> Freeze for SpecificDatumReader<T>
impl<T> RefUnwindSafe for SpecificDatumReader<T>where
T: RefUnwindSafe,
impl<T> Send for SpecificDatumReader<T>where
T: Send,
impl<T> Sync for SpecificDatumReader<T>where
T: Sync,
impl<T> Unpin for SpecificDatumReader<T>where
T: Unpin,
impl<T> UnsafeUnpin for SpecificDatumReader<T>
impl<T> UnwindSafe for SpecificDatumReader<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