pub struct StdioClient { /* private fields */ }
Expand description
Stdio client implementation
Implementations§
Source§impl StdioClient
impl StdioClient
Sourcepub fn new(config: StdioClientConfig) -> Self
pub fn new(config: StdioClientConfig) -> Self
Create a new Stdio client
Trait Implementations§
Source§impl StdioTransport for StdioClient
impl StdioTransport for StdioClient
Source§fn initialize<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn initialize<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Initialize the transport
Source§fn send<'life0, 'async_trait>(
&'life0 self,
message: Message,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn send<'life0, 'async_trait>(
&'life0 self,
message: Message,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Send a message
Auto Trait Implementations§
impl !Freeze for StdioClient
impl !RefUnwindSafe for StdioClient
impl Send for StdioClient
impl Sync for StdioClient
impl Unpin for StdioClient
impl !UnwindSafe for StdioClient
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