pub struct PrimaryGuard { /* private fields */ }Expand description
Stops listening (and removes the socket) when dropped.
Trait Implementations§
Source§impl Drop for PrimaryGuard
impl Drop for PrimaryGuard
Auto Trait Implementations§
impl !RefUnwindSafe for PrimaryGuard
impl !UnwindSafe for PrimaryGuard
impl Freeze for PrimaryGuard
impl Send for PrimaryGuard
impl Sync for PrimaryGuard
impl Unpin for PrimaryGuard
impl UnsafeUnpin for PrimaryGuard
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