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
Source§fn clone(&self) -> AcceptNotify
fn clone(&self) -> AcceptNotify
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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