pub struct Error<T>(pub Arc<T>, pub T);Expand description
compare exchange error.
.0 is the current value, .1 is the new value that is wanted set.
Tuple Fields§
§0: Arc<T>§1: TTrait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Error<T>where
T: Freeze,
impl<T> RefUnwindSafe for Error<T>where
T: RefUnwindSafe,
impl<T> Send for Error<T>
impl<T> Sync for Error<T>
impl<T> Unpin for Error<T>where
T: Unpin,
impl<T> UnwindSafe for Error<T>where
T: UnwindSafe + 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