pub struct ShellWaker { /* private fields */ }Expand description
Wakes one shell’s wait_events from any
thread — see the module docs.
From Shell::waker. Cheap to clone, Send and
Sync, and valid for as long as anyone holds it: a wake after the shell is
gone does nothing.
Implementations§
Source§impl ShellWaker
impl ShellWaker
Trait Implementations§
Source§impl Clone for ShellWaker
impl Clone for ShellWaker
Auto Trait Implementations§
impl !RefUnwindSafe for ShellWaker
impl !UnwindSafe for ShellWaker
impl Freeze for ShellWaker
impl Send for ShellWaker
impl Sync for ShellWaker
impl Unpin for ShellWaker
impl UnsafeUnpin for ShellWaker
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