Struct mz_avro::decode::public_decoders::TrivialDecoder
source · pub struct TrivialDecoder;
Implementations§
source§impl TrivialDecoder
impl TrivialDecoder
fn maybe_skip<'a, V, R: AvroRead>( self, r: ValueOrReader<'a, V, R>, ) -> Result<(), AvroError>
Trait Implementations§
source§impl AvroDecode for TrivialDecoder
impl AvroDecode for TrivialDecoder
type Out = ()
fn record<R: AvroRead, A: AvroRecordAccess<R>>( self, a: &mut A, ) -> Result<(), AvroError>
fn union_branch<'a, R: AvroRead, D: AvroDeserializer>( self, _idx: usize, _n_variants: usize, _null_variant: Option<usize>, deserializer: D, reader: &'a mut R, ) -> Result<(), AvroError>
fn enum_variant(self, _symbol: &str, _idx: usize) -> Result<(), AvroError>
fn scalar(self, _scalar: Scalar) -> Result<(), AvroError>
fn decimal<'a, R: AvroRead>( self, _precision: usize, _scale: usize, r: ValueOrReader<'a, &'a [u8], R>, ) -> Result<(), AvroError>
fn bytes<'a, R: AvroRead>( self, r: ValueOrReader<'a, &'a [u8], R>, ) -> Result<(), AvroError>
fn string<'a, R: AvroRead>( self, r: ValueOrReader<'a, &'a str, R>, ) -> Result<(), AvroError>
fn json<'a, R: AvroRead>( self, r: ValueOrReader<'a, &'a Value, R>, ) -> Result<(), AvroError>
fn uuid<'a, R: AvroRead>( self, r: ValueOrReader<'a, &'a [u8], R>, ) -> Result<(), AvroError>
fn fixed<'a, R: AvroRead>( self, r: ValueOrReader<'a, &'a [u8], R>, ) -> Result<(), AvroError>
fn array<A: AvroArrayAccess>(self, a: &mut A) -> Result<(), AvroError>
fn map<M: AvroMapAccess>(self, m: &mut M) -> Result<(), AvroError>
fn map_decoder<T, F: FnMut(Self::Out) -> Result<T, AvroError>>( self, f: F, ) -> MappingDecoder<T, Self::Out, Self, F>
Auto Trait Implementations§
impl Freeze for TrivialDecoder
impl RefUnwindSafe for TrivialDecoder
impl Send for TrivialDecoder
impl Sync for TrivialDecoder
impl Unpin for TrivialDecoder
impl UnwindSafe for TrivialDecoder
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
source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request