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