pub enum TransportConnection {
Unix(UnixSocketConnection),
}Expand description
A connected transport (either platform).
Variants§
Unix(UnixSocketConnection)
Trait Implementations§
Source§impl From<UnixSocketConnection> for TransportConnection
Available on Unix only.
impl From<UnixSocketConnection> for TransportConnection
Available on Unix only.
Source§fn from(conn: UnixSocketConnection) -> Self
fn from(conn: UnixSocketConnection) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for TransportConnection
impl RefUnwindSafe for TransportConnection
impl Send for TransportConnection
impl Sync for TransportConnection
impl Unpin for TransportConnection
impl UnsafeUnpin for TransportConnection
impl UnwindSafe for TransportConnection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more