Struct lance_encoding::decoder::DecoderMiddlewareChain  
source · pub struct DecoderMiddlewareChain { /* private fields */ }Expand description
Represents a series of decoder strategies
These strategies will be applied, in order, to determine which decoder to use for a field.
Implementations§
source§impl DecoderMiddlewareChain
 
impl DecoderMiddlewareChain
sourcepub fn add_strategy(self, decoder: Arc<dyn FieldDecoderStrategy>) -> Self
 
pub fn add_strategy(self, decoder: Arc<dyn FieldDecoderStrategy>) -> Self
Adds a decoder to the end of the chain
Trait Implementations§
source§impl Clone for DecoderMiddlewareChain
 
impl Clone for DecoderMiddlewareChain
source§fn clone(&self) -> DecoderMiddlewareChain
 
fn clone(&self) -> DecoderMiddlewareChain
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for DecoderMiddlewareChain
 
impl Debug for DecoderMiddlewareChain
Auto Trait Implementations§
impl Freeze for DecoderMiddlewareChain
impl !RefUnwindSafe for DecoderMiddlewareChain
impl Send for DecoderMiddlewareChain
impl Sync for DecoderMiddlewareChain
impl Unpin for DecoderMiddlewareChain
impl !UnwindSafe for DecoderMiddlewareChain
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> 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> IntoEither for T
 
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more