pub struct RootWaker<'d> { /* private fields */ }Expand description
Driver-owned wake target that cannot name a task node. The root boundary supplies it, and child contexts retain that exact root. Generational ready keys make wakes after slot release a no-op.
Implementations§
Trait Implementations§
impl<'d> Copy for RootWaker<'d>
Auto Trait Implementations§
impl<'d> !RefUnwindSafe for RootWaker<'d>
impl<'d> !Send for RootWaker<'d>
impl<'d> !Sync for RootWaker<'d>
impl<'d> !UnwindSafe for RootWaker<'d>
impl<'d> Forget for RootWaker<'d>
impl<'d> Freeze for RootWaker<'d>
impl<'d> Move for RootWaker<'d>
impl<'d> Unpin for RootWaker<'d>
impl<'d> UnsafeUnpin for RootWaker<'d>where
Root<'d, Shared<Context<Receive>>>: UnsafeUnpin,
PhantomData<(fn(&'d ()) -> &'d (), ThreadBound)>: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
PhantomData<*mut ()>: UnsafeUnpin,
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