pub struct IsolateFactory;Trait Implementations§
Source§impl PipeFactory for IsolateFactory
impl PipeFactory for IsolateFactory
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 IsolateFactory
impl RefUnwindSafe for IsolateFactory
impl Send for IsolateFactory
impl Sync for IsolateFactory
impl Unpin for IsolateFactory
impl UnsafeUnpin for IsolateFactory
impl UnwindSafe for IsolateFactory
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