pub struct Listener(/* private fields */);Expand description
The owner’s end of the socket. Listener::close (or drop) removes the
socket so no process connects to an owner that stopped serving.
Implementations§
Auto Trait Implementations§
impl Forget for Listener
impl Freeze for Listener
impl Move for Listener
impl RefUnwindSafe for Listener
impl Send for Listener
impl Sync for Listener
impl Unpin for Listener
impl UnsafeUnpin for Listener
impl UnwindSafe for Listener
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