Enum openssh_mux_client::connection::Socket [−][src]
pub enum Socket<'a> {
UnixSocket {
path: &'a str,
},
TcpSocket {
port: NonZeroU32,
host: &'a str,
},
}
Variants
Fields of UnixSocket
path: &'a str
Fields of TcpSocket
port: NonZeroU32
host: &'a str
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Socket<'a>
impl<'a> UnwindSafe for Socket<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more