pub struct FilterFactory;Trait Implementations§
Source§impl PipeFactory for FilterFactory
Available on crate feature std only.
impl PipeFactory for FilterFactory
Available on crate feature
std only.fn name(&self) -> &str
Source§fn build(
&self,
spec: &Value,
inner: Option<PipeHandle>,
) -> Pin<Box<dyn Future<Output = Result<PipeHandle, ProximaError>> + Send + '_>>
fn build( &self, spec: &Value, inner: Option<PipeHandle>, ) -> Pin<Box<dyn Future<Output = Result<PipeHandle, ProximaError>> + Send + '_>>
Build a Pipe from a config spec.
inner carries the next
stage in the chain for wrapping pipes (auth, retry, validate,
transform, …); terminal pipes (synth, http, kv, …) ignore it.
A wrapping factory called with inner: None should error; a
terminal factory called with inner: Some(_) may either ignore
or error — convention is ignore. Read moreAuto Trait Implementations§
impl Freeze for FilterFactory
impl RefUnwindSafe for FilterFactory
impl Send for FilterFactory
impl Sync for FilterFactory
impl Unpin for FilterFactory
impl UnsafeUnpin for FilterFactory
impl UnwindSafe for FilterFactory
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