pub struct AtomicMountpointFlags { /* private fields */ }Implementations§
Source§impl AtomicMountpointFlags
impl AtomicMountpointFlags
pub fn new(initial: MountpointFlags) -> Self
pub fn load(&self, order: Ordering) -> MountpointFlags
pub fn store(&self, val: MountpointFlags, order: Ordering)
pub fn fetch_or(&self, val: MountpointFlags, order: Ordering) -> MountpointFlags
pub fn fetch_and( &self, val: MountpointFlags, order: Ordering, ) -> MountpointFlags
pub fn swap(&self, val: MountpointFlags, order: Ordering) -> MountpointFlags
pub fn compare_exchange( &self, current: MountpointFlags, new: MountpointFlags, success: Ordering, failure: Ordering, ) -> Result<MountpointFlags, MountpointFlags>
pub fn update( &self, value: MountpointFlags, mask: MountpointFlags, set_order: Ordering, fetch_order: Ordering, ) -> MountpointFlags
Trait Implementations§
Source§impl Debug for AtomicMountpointFlags
impl Debug for AtomicMountpointFlags
Source§impl Default for AtomicMountpointFlags
impl Default for AtomicMountpointFlags
Source§fn default() -> AtomicMountpointFlags
fn default() -> AtomicMountpointFlags
Returns the “default value” for a type. Read more
Source§impl From<MountpointFlags> for AtomicMountpointFlags
impl From<MountpointFlags> for AtomicMountpointFlags
Source§fn from(initial: MountpointFlags) -> Self
fn from(initial: MountpointFlags) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for AtomicMountpointFlags
impl RefUnwindSafe for AtomicMountpointFlags
impl Send for AtomicMountpointFlags
impl Sync for AtomicMountpointFlags
impl Unpin for AtomicMountpointFlags
impl UnsafeUnpin for AtomicMountpointFlags
impl UnwindSafe for AtomicMountpointFlags
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