pub struct ValueDecoder;
Trait Implementations§
Source§impl AvroDecode for ValueDecoder
impl AvroDecode for ValueDecoder
type Out = Value
fn record<R: AvroRead, A: AvroRecordAccess<R>>( self, a: &mut A, ) -> Result<Value, AvroError>
fn union_branch<'a, R: AvroRead, D: AvroDeserializer>( self, index: usize, n_variants: usize, null_variant: Option<usize>, deserializer: D, reader: &'a mut R, ) -> Result<Value, AvroError>
fn array<A: AvroArrayAccess>(self, a: &mut A) -> Result<Value, AvroError>
fn enum_variant(self, symbol: &str, idx: usize) -> Result<Value, AvroError>
fn scalar(self, scalar: Scalar) -> Result<Value, AvroError>
fn decimal<'a, R: AvroRead>( self, precision: usize, scale: usize, r: ValueOrReader<'a, &'a [u8], R>, ) -> Result<Value, AvroError>
fn bytes<'a, R: AvroRead>( self, r: ValueOrReader<'a, &'a [u8], R>, ) -> Result<Value, AvroError>
fn string<'a, R: AvroRead>( self, r: ValueOrReader<'a, &'a str, R>, ) -> Result<Value, AvroError>
fn json<'a, R: AvroRead>( self, r: ValueOrReader<'a, &'a Value, R>, ) -> Result<Value, AvroError>
fn uuid<'a, R: AvroRead>( self, r: ValueOrReader<'a, &'a [u8], R>, ) -> Result<Value, AvroError>
fn fixed<'a, R: AvroRead>( self, r: ValueOrReader<'a, &'a [u8], R>, ) -> Result<Value, AvroError>
fn map<M: AvroMapAccess>(self, m: &mut M) -> Result<Value, 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 ValueDecoder
impl RefUnwindSafe for ValueDecoder
impl Send for ValueDecoder
impl Sync for ValueDecoder
impl Unpin for ValueDecoder
impl UnwindSafe for ValueDecoder
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