pub struct LinuxSocketPort;Trait Implementations§
Source§impl SocketPort for LinuxSocketPort
impl SocketPort for LinuxSocketPort
fn listen_tcp(&self, address: &SocketAddress) -> Result<Box<dyn Listener>>
fn connect_tcp(&self, address: &SocketAddress) -> Result<Box<dyn Stream>>
fn bind_udp(&self, address: &SocketAddress) -> Result<Box<dyn Datagram>>
Auto Trait Implementations§
impl Freeze for LinuxSocketPort
impl RefUnwindSafe for LinuxSocketPort
impl Send for LinuxSocketPort
impl Sync for LinuxSocketPort
impl Unpin for LinuxSocketPort
impl UnsafeUnpin for LinuxSocketPort
impl UnwindSafe for LinuxSocketPort
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