pub struct AcceptNotify(/* private fields */);Expand description
Handle for sending commands to the accept loop.
Implementations§
Source§impl AcceptNotify
impl AcceptNotify
Sourcepub fn send(&self, cmd: AcceptorCommand)
pub fn send(&self, cmd: AcceptorCommand)
Sends a command and wakes the accept loop.
Trait Implementations§
Source§impl Clone for AcceptNotify
impl Clone for AcceptNotify
Auto Trait Implementations§
impl Freeze for AcceptNotify
impl RefUnwindSafe for AcceptNotify
impl Send for AcceptNotify
impl Sync for AcceptNotify
impl Unpin for AcceptNotify
impl UnsafeUnpin for AcceptNotify
impl UnwindSafe for AcceptNotify
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