pub struct SlotWaker { /* private fields */ }Expand description
Thread-safe, zero-allocation waker bound to a single stable slot in FrameTickRegistry.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SlotWaker
impl !UnwindSafe for SlotWaker
impl Forget for SlotWaker
impl Freeze for SlotWakerwhere
*const ArcInner<Atomic<u64>> is !null: Freeze,
PhantomData<ArcInner<Atomic<u64>>>: Freeze,
*const ArcInner<Atomic<bool>> is !null: Freeze,
PhantomData<ArcInner<Atomic<bool>>>: Freeze,
*const ArcInner<dyn Fn() + Send + Sync> is !null: Freeze,
PhantomData<ArcInner<dyn Fn() + Send + Sync>>: Freeze,
impl Move for SlotWaker
impl Send for SlotWaker
impl Sync for SlotWaker
impl Unpin for SlotWaker
impl UnsafeUnpin for SlotWakerwhere
*const ArcInner<Atomic<u64>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Atomic<u64>>>: UnsafeUnpin,
*const ArcInner<Atomic<bool>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Atomic<bool>>>: UnsafeUnpin,
*const ArcInner<dyn Fn() + Send + Sync> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Fn() + Send + Sync>>: 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