pub enum TryUnwrapError<T> {
WouldLock(ParentArc<T>),
WouldBlock(ParentArc<T>),
}
Expand description
Errors for TryArcResult
Variants§
WouldLock(ParentArc<T>)
Would have locked the Temp references
WouldBlock(ParentArc<T>)
Would have blocked becasue there is still a ChildArc
reference
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for TryUnwrapError<T>
impl<T> RefUnwindSafe for TryUnwrapError<T>where
T: RefUnwindSafe,
impl<T> !Send for TryUnwrapError<T>
impl<T> !Sync for TryUnwrapError<T>
impl<T> Unpin for TryUnwrapError<T>
impl<T> UnwindSafe for TryUnwrapError<T>where
T: RefUnwindSafe,
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