Trait parsec_client::core::ipc_handler::Connect
source · [−]pub trait Connect {
fn connect(&self) -> Result<Box<dyn ReadWrite>>;
fn set_timeout(&mut self, timeout: Option<Duration>);
}
Expand description
Trait that must be implemented by any IPC client
The trait is used by the request handler for obtaining a stream to the service.
Required methods
Connect to underlying IPC and return a readable and writeable stream
fn set_timeout(&mut self, timeout: Option<Duration>)
fn set_timeout(&mut self, timeout: Option<Duration>)
Set timeout for all produced streams.