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

Set timeout for all produced streams.

Implementors