pub enum Error<B: Thread, E> {
Acquire(Acquire),
AcquireRelease {
acquire: Acquire,
release: Release<B>,
},
Run(E),
Release {
run: Option<E>,
cause: Release<B>,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<B, E> !Send for Error<B, E>
impl<B, E> !Sync for Error<B, E>
impl<B, E> Forget for Error<B, E>
impl<B, E> Freeze for Error<B, E>
impl<B, E> Move for Error<B, E>
impl<B, E> RefUnwindSafe for Error<B, E>
impl<B, E> Unpin for Error<B, E>
impl<B, E> UnsafeUnpin for Error<B, E>where
NonZeroI32Inner: UnsafeUnpin,
<B as Thread>::Receiver: UnsafeUnpin,
PhantomData<*mut ()>: UnsafeUnpin,
E: UnsafeUnpin,
impl<B, E> UnwindSafe for Error<B, E>where
NonZero<i32>: UnwindSafe,
<B as Thread>::Receiver: UnwindSafe,
*mut (): UnwindSafe,
E: UnwindSafe,
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