#[repr(u32)]pub enum FcntlRwHint {
    RWH_WRITE_LIFE_NOT_SET = 0,
    RWH_WRITE_LIFE_NONE = 1,
    RWH_WRITE_LIFE_SHORT = 2,
    RWH_WRITE_LIFE_MEDIUM = 3,
    RWH_WRITE_LIFE_LONG = 4,
    RWH_WRITE_LIFE_EXTREME = 5,
}Expand description
Read-write hint, as used with FcntlCommand::F_GET_RW_HINT and FcntlCommand::F_SET_RW_HINT.
Variants§
RWH_WRITE_LIFE_NOT_SET = 0
RWH_WRITE_LIFE_NONE = 1
RWH_WRITE_LIFE_SHORT = 2
RWH_WRITE_LIFE_MEDIUM = 3
RWH_WRITE_LIFE_LONG = 4
RWH_WRITE_LIFE_EXTREME = 5
Trait Implementations§
Source§impl Clone for FcntlRwHint
 
impl Clone for FcntlRwHint
Source§fn clone(&self) -> FcntlRwHint
 
fn clone(&self) -> FcntlRwHint
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for FcntlRwHint
 
impl Debug for FcntlRwHint
Source§impl From<FcntlRwHint> for u32
 
impl From<FcntlRwHint> for u32
Source§fn from(enum_value: FcntlRwHint) -> Self
 
fn from(enum_value: FcntlRwHint) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FcntlRwHint
 
impl PartialEq for FcntlRwHint
Source§impl TryFrom<u32> for FcntlRwHint
 
impl TryFrom<u32> for FcntlRwHint
Source§type Error = TryFromPrimitiveError<FcntlRwHint>
 
type Error = TryFromPrimitiveError<FcntlRwHint>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for FcntlRwHint
 
impl TryFromPrimitive for FcntlRwHint
const NAME: &'static str = "FcntlRwHint"
type Primitive = u32
type Error = TryFromPrimitiveError<FcntlRwHint>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for FcntlRwHint
impl Eq for FcntlRwHint
impl StructuralPartialEq for FcntlRwHint
Auto Trait Implementations§
impl Freeze for FcntlRwHint
impl RefUnwindSafe for FcntlRwHint
impl Send for FcntlRwHint
impl Sync for FcntlRwHint
impl Unpin for FcntlRwHint
impl UnwindSafe for FcntlRwHint
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