pub struct TcpListen(pub SocketAddr);
Tuple Fields§
§0: SocketAddr
Trait Implementations§
source§impl Specifier for TcpListen
impl Specifier for TcpListen
source§fn construct(&self, p: ConstructParams) -> PeerConstructor
fn construct(&self, p: ConstructParams) -> PeerConstructor
Apply the specifier for constructing a “socket” or other connecting device.
fn uses_global_state(&self) -> bool
fn is_multiconnect(&self) -> bool
Auto Trait Implementations§
impl Freeze for TcpListen
impl RefUnwindSafe for TcpListen
impl Send for TcpListen
impl Sync for TcpListen
impl Unpin for TcpListen
impl UnwindSafe for TcpListen
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