pub struct DelayFactory;Trait Implementations§
Source§impl PipeFactory for DelayFactory
Available on crate feature std only.
impl PipeFactory for DelayFactory
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 DelayFactory
impl RefUnwindSafe for DelayFactory
impl Send for DelayFactory
impl Sync for DelayFactory
impl Unpin for DelayFactory
impl UnsafeUnpin for DelayFactory
impl UnwindSafe for DelayFactory
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