pub enum Error<'owner, E> {
Acquire(Acquire),
Run(E),
Release {
run: Option<E>,
cause: Release<'owner>,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'owner, E> !Send for Error<'owner, E>
impl<'owner, E> !Sync for Error<'owner, E>
impl<'owner, E> !UnwindSafe for Error<'owner, E>
impl<'owner, E> Freeze for Error<'owner, E>
impl<'owner, E> RefUnwindSafe for Error<'owner, E>
impl<'owner, E> Unpin for Error<'owner, E>
impl<'owner, E> UnsafeUnpin for Error<'owner, E>
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