pub struct ChildRunLiveIoTransportFactory { /* private fields */ }Expand description
Live IO transport factory that adds child-run spawn and await namespaces.
It forwards all unrelated namespaces to the wrapped factory.
Implementations§
Source§impl ChildRunLiveIoTransportFactory
impl ChildRunLiveIoTransportFactory
Sourcepub fn new(
resolver: Arc<dyn PlanResolver>,
inner: Arc<dyn LiveIoTransportFactory>,
) -> Self
pub fn new( resolver: Arc<dyn PlanResolver>, inner: Arc<dyn LiveIoTransportFactory>, ) -> Self
Wraps inner with child-run spawn/await handling backed by resolver.
Calls outside the reserved child-run namespaces are forwarded to inner.
Trait Implementations§
Source§impl Clone for ChildRunLiveIoTransportFactory
impl Clone for ChildRunLiveIoTransportFactory
Source§fn clone(&self) -> ChildRunLiveIoTransportFactory
fn clone(&self) -> ChildRunLiveIoTransportFactory
Returns a duplicate 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 LiveIoTransportFactory for ChildRunLiveIoTransportFactory
impl LiveIoTransportFactory for ChildRunLiveIoTransportFactory
Source§fn namespace_group(&self) -> &str
fn namespace_group(&self) -> &str
Returns the namespace group handled by transports built from this factory.
Auto Trait Implementations§
impl Freeze for ChildRunLiveIoTransportFactory
impl !RefUnwindSafe for ChildRunLiveIoTransportFactory
impl Send for ChildRunLiveIoTransportFactory
impl Sync for ChildRunLiveIoTransportFactory
impl Unpin for ChildRunLiveIoTransportFactory
impl UnsafeUnpin for ChildRunLiveIoTransportFactory
impl !UnwindSafe for ChildRunLiveIoTransportFactory
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