pub struct Slot<'d> { /* private fields */ }Expand description
A one-word endpoint containing at most one caller-owned waiter.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'d> !Freeze for Slot<'d>
impl<'d> !RefUnwindSafe for Slot<'d>
impl<'d> !Send for Slot<'d>
impl<'d> !Sync for Slot<'d>
impl<'d> !UnwindSafe for Slot<'d>
impl<'d> Forget for Slot<'d>
impl<'d> Move for Slot<'d>
impl<'d> Unpin for Slot<'d>
impl<'d> UnsafeUnpin for Slot<'d>where
*const Entry<Cell<Option<Active<'d>>>> is !null: UnsafeUnpin,
PhantomData<ThreadBound>: 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