pub struct AtomicMountFlags { /* private fields */ }Implementations§
Source§impl AtomicMountFlags
impl AtomicMountFlags
pub fn new(initial: MountFlags) -> Self
pub fn load(&self, order: Ordering) -> MountFlags
pub fn store(&self, val: MountFlags, order: Ordering)
pub fn fetch_or(&self, val: MountFlags, order: Ordering) -> MountFlags
pub fn fetch_and(&self, val: MountFlags, order: Ordering) -> MountFlags
pub fn swap(&self, val: MountFlags, order: Ordering) -> MountFlags
pub fn compare_exchange( &self, current: MountFlags, new: MountFlags, success: Ordering, failure: Ordering, ) -> Result<MountFlags, MountFlags>
pub fn update( &self, value: MountFlags, mask: MountFlags, set_order: Ordering, fetch_order: Ordering, ) -> MountFlags
Trait Implementations§
Source§impl Debug for AtomicMountFlags
impl Debug for AtomicMountFlags
Source§impl Default for AtomicMountFlags
impl Default for AtomicMountFlags
Source§fn default() -> AtomicMountFlags
fn default() -> AtomicMountFlags
Returns the “default value” for a type. Read more
Source§impl From<MountFlags> for AtomicMountFlags
impl From<MountFlags> for AtomicMountFlags
Source§fn from(initial: MountFlags) -> Self
fn from(initial: MountFlags) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for AtomicMountFlags
impl RefUnwindSafe for AtomicMountFlags
impl Send for AtomicMountFlags
impl Sync for AtomicMountFlags
impl Unpin for AtomicMountFlags
impl UnsafeUnpin for AtomicMountFlags
impl UnwindSafe for AtomicMountFlags
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more