pub struct RequestFlags(/* private fields */);Implementations§
Source§impl RequestFlags
impl RequestFlags
pub const NONE: Self
pub const FUA: Self
pub const PREFLUSH: Self
pub const SYNC: Self
pub const META: Self
pub const POLLED: Self
pub const NOWAIT: Self
pub const ALL_KNOWN: Self
pub const fn bits(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: Self) -> bool
pub const fn intersects(self, other: Self) -> bool
pub const fn unsupported_by(self, supported: Self) -> Self
Trait Implementations§
Source§impl BitOr for RequestFlags
impl BitOr for RequestFlags
Source§impl BitOrAssign for RequestFlags
impl BitOrAssign for RequestFlags
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for RequestFlags
impl Clone for RequestFlags
Source§fn clone(&self) -> RequestFlags
fn clone(&self) -> RequestFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RequestFlags
Source§impl Debug for RequestFlags
impl Debug for RequestFlags
Source§impl Default for RequestFlags
impl Default for RequestFlags
impl Eq for RequestFlags
Source§impl PartialEq for RequestFlags
impl PartialEq for RequestFlags
Source§fn eq(&self, other: &RequestFlags) -> bool
fn eq(&self, other: &RequestFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RequestFlags
Auto Trait Implementations§
impl Freeze for RequestFlags
impl RefUnwindSafe for RequestFlags
impl Send for RequestFlags
impl Sync for RequestFlags
impl Unpin for RequestFlags
impl UnsafeUnpin for RequestFlags
impl UnwindSafe for RequestFlags
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