pub struct StdioTransportFactory { /* private fields */ }Expand description
Factory that spawns a child process and connects via stdin/stdout.
Created from a StdioTransportConfig. Each call to
connect spawns a new child process.
Implementations§
Source§impl StdioTransportFactory
impl StdioTransportFactory
Sourcepub fn new(config: StdioTransportConfig) -> Self
pub fn new(config: StdioTransportConfig) -> Self
Creates a new factory from the given stdio transport configuration.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StdioTransportFactory
impl RefUnwindSafe for StdioTransportFactory
impl Send for StdioTransportFactory
impl Sync for StdioTransportFactory
impl Unpin for StdioTransportFactory
impl UnsafeUnpin for StdioTransportFactory
impl UnwindSafe for StdioTransportFactory
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