pub enum CasResult<T> {
Success(Ref<T>),
Failure(Ref<T>),
}
Expand description
Result from a CAS operation
Variants§
Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for CasResult<T>where
T: RefUnwindSafe,
impl<T> !Send for CasResult<T>
impl<T> !Sync for CasResult<T>
impl<T> Unpin for CasResult<T>
impl<T> UnwindSafe for CasResult<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