Struct interchange::avro::decode::AvroFlatDecoder [−][src]
pub struct AvroFlatDecoder<'a> {
pub packer: &'a mut Row,
pub buf: &'a mut Vec<u8>,
pub is_top: bool,
}
Fields
packer: &'a mut Row
buf: &'a mut Vec<u8>
is_top: bool
Trait Implementations
fn union_branch<'b, R: AvroRead, D: AvroDeserializer>(
self,
idx: usize,
n_variants: usize,
null_variant: Option<usize>,
deserializer: D,
reader: &'b mut R
) -> Result<Self::Out, AvroError>
fn decimal<'b, R: AvroRead>(
self,
_precision: usize,
scale: usize,
r: ValueOrReader<'b, &'b [u8], R>
) -> Result<Self::Out, AvroError>
fn map_decoder<T, F>(self, f: F) -> MappingDecoder<T, Self::Out, Self, F> where
F: FnMut(Self::Out) -> Result<T, Error>,
Auto Trait Implementations
impl<'a> RefUnwindSafe for AvroFlatDecoder<'a>
impl<'a> Send for AvroFlatDecoder<'a>
impl<'a> Sync for AvroFlatDecoder<'a>
impl<'a> Unpin for AvroFlatDecoder<'a>
impl<'a> !UnwindSafe for AvroFlatDecoder<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more