pub enum AtomicError {
ReleaseOnLoad,
AcquireRelease,
AcquireOnStore,
}Expand description
Errors for atomic operations on load/store instructions.
Variants§
Trait Implementations§
Source§impl Debug for AtomicError
impl Debug for AtomicError
Source§impl Display for AtomicError
impl Display for AtomicError
Source§impl Error for AtomicError
impl Error for AtomicError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for AtomicError
impl PartialEq for AtomicError
impl Eq for AtomicError
impl StructuralPartialEq for AtomicError
Auto Trait Implementations§
impl Freeze for AtomicError
impl RefUnwindSafe for AtomicError
impl Send for AtomicError
impl Sync for AtomicError
impl Unpin for AtomicError
impl UnsafeUnpin for AtomicError
impl UnwindSafe for AtomicError
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