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