pub trait BoxableConnector<In: RpcMessage, Out: RpcMessage>:
Debug
+ Send
+ Sync
+ 'static {
// Required methods
fn clone_box(&self) -> Box<dyn BoxableConnector<In, Out>>;
fn open_boxed(&self) -> OpenFuture<'_, In, Out> ⓘ;
}
Expand description
A boxable connector
Required Methods§
Sourcefn clone_box(&self) -> Box<dyn BoxableConnector<In, Out>>
fn clone_box(&self) -> Box<dyn BoxableConnector<In, Out>>
Clone the connection and box it
Sourcefn open_boxed(&self) -> OpenFuture<'_, In, Out> ⓘ
fn open_boxed(&self) -> OpenFuture<'_, In, Out> ⓘ
Open a channel to the remote che