Trait quic_rpc::transport::Connection
source · pub trait Connection<In, Out>: ConnectionCommon<In, Out> {
// Required method
fn open_bi(
&self,
) -> impl Future<Output = Result<(Self::SendSink, Self::RecvStream), Self::OpenError>> + Send;
}
Expand description
A connection to a specific remote machine
A connection can be used to open bidirectional typed channels using Connection::open_bi
.
Required Methods§
Object Safety§
This trait is not object safe.