pub enum Error<'d> {
Foreign,
QueueFull {
capacity: Capacity,
wake: Waker<'d>,
},
SlotFull(Waker<'d>),
}Expand description
Exact reason a caller-owned waiter could not be registered.
Variants§
Implementations§
Auto Trait Implementations§
impl<'d> !RefUnwindSafe for Error<'d>
impl<'d> !Send for Error<'d>
impl<'d> !Sync for Error<'d>
impl<'d> !UnwindSafe for Error<'d>
impl<'d> Forget for Error<'d>
impl<'d> Freeze for Error<'d>
impl<'d> Move for Error<'d>
impl<'d> Unpin for Error<'d>
impl<'d> UnsafeUnpin for Error<'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