pub trait Transport: Send {
type SendHandle: SendHandle;
type RecvHandle: RecvHandle;
// Required method
fn split(self) -> (Self::SendHandle, Self::RecvHandle);
}Available on crate features
ssh or tls only.Required Associated Types§
type SendHandle: SendHandle
type RecvHandle: RecvHandle
Required Methods§
fn split(self) -> (Self::SendHandle, Self::RecvHandle)
Implementors§
Source§impl Transport for Ssh
Available on crate feature ssh only.
impl Transport for Ssh
Available on crate feature
ssh only.type SendHandle = Sender
type RecvHandle = Receiver
Source§impl Transport for Tls
Available on crate feature tls only.
impl Transport for Tls
Available on crate feature
tls only.