pub struct AcceptNotify(/* private fields */);Expand description
Handle for sending commands to the accept loop.
Commands are delivered to every accept thread.
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.
A Stop command is signaled after every accept thread has stopped.
Trait Implementations§
Source§impl Clone for AcceptNotify
impl Clone for AcceptNotify
Auto Trait Implementations§
impl !RefUnwindSafe for AcceptNotify
impl !UnwindSafe for AcceptNotify
impl Forget for AcceptNotify
impl Freeze for AcceptNotify
impl Move for AcceptNotify
impl Send for AcceptNotify
impl Sync for AcceptNotify
impl Unpin for AcceptNotify
impl UnsafeUnpin 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