pub enum DecoderMode {
Framed,
UnframedDatum,
}Expand description
The wire format consumed by a streaming Decoder.
Variants§
Framed
Decode single-object or schema-registry-framed Avro records.
UnframedDatum
Decode exactly one unframed Avro datum per call using the active writer schema.
Trait Implementations§
Source§impl Clone for DecoderMode
impl Clone for DecoderMode
Source§fn clone(&self) -> DecoderMode
fn clone(&self) -> DecoderMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DecoderMode
Source§impl Debug for DecoderMode
impl Debug for DecoderMode
Source§impl Default for DecoderMode
impl Default for DecoderMode
Source§fn default() -> DecoderMode
fn default() -> DecoderMode
Returns the “default value” for a type. Read more
impl Eq for DecoderMode
Source§impl PartialEq for DecoderMode
impl PartialEq for DecoderMode
impl StructuralPartialEq for DecoderMode
Auto Trait Implementations§
impl Freeze for DecoderMode
impl RefUnwindSafe for DecoderMode
impl Send for DecoderMode
impl Sync for DecoderMode
impl Unpin for DecoderMode
impl UnsafeUnpin for DecoderMode
impl UnwindSafe for DecoderMode
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.