pub(crate) struct TcpListenerState {
pub(crate) socket: SocketHandle,
pub(crate) port: u16,
pub(crate) auto_relisten: bool,
}Fields§
§socket: SocketHandle§port: u16§auto_relisten: boolTrait Implementations§
Source§impl Clone for TcpListenerState
impl Clone for TcpListenerState
Source§fn clone(&self) -> TcpListenerState
fn clone(&self) -> TcpListenerState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TcpListenerState
Auto Trait Implementations§
impl Freeze for TcpListenerState
impl RefUnwindSafe for TcpListenerState
impl Send for TcpListenerState
impl Sync for TcpListenerState
impl Unpin for TcpListenerState
impl UnsafeUnpin for TcpListenerState
impl UnwindSafe for TcpListenerState
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