#[repr(u32)]pub enum FcntlLeaseType {
    F_RDLCK = 0,
    F_WRLCK = 1,
    F_UNLCK = 2,
    F_EXLCK = 4,
    F_SHLCK = 8,
}Expand description
Lease type, as used with FcntlCommand::F_SETLEASE
Variants§
Trait Implementations§
Source§impl Clone for FcntlLeaseType
 
impl Clone for FcntlLeaseType
Source§fn clone(&self) -> FcntlLeaseType
 
fn clone(&self) -> FcntlLeaseType
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 FcntlLeaseType
 
impl Debug for FcntlLeaseType
Source§impl From<FcntlLeaseType> for u32
 
impl From<FcntlLeaseType> for u32
Source§fn from(enum_value: FcntlLeaseType) -> Self
 
fn from(enum_value: FcntlLeaseType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FcntlLeaseType
 
impl PartialEq for FcntlLeaseType
Source§impl TryFrom<u32> for FcntlLeaseType
 
impl TryFrom<u32> for FcntlLeaseType
Source§type Error = TryFromPrimitiveError<FcntlLeaseType>
 
type Error = TryFromPrimitiveError<FcntlLeaseType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for FcntlLeaseType
 
impl TryFromPrimitive for FcntlLeaseType
const NAME: &'static str = "FcntlLeaseType"
type Primitive = u32
type Error = TryFromPrimitiveError<FcntlLeaseType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for FcntlLeaseType
impl Eq for FcntlLeaseType
impl StructuralPartialEq for FcntlLeaseType
Auto Trait Implementations§
impl Freeze for FcntlLeaseType
impl RefUnwindSafe for FcntlLeaseType
impl Send for FcntlLeaseType
impl Sync for FcntlLeaseType
impl Unpin for FcntlLeaseType
impl UnwindSafe for FcntlLeaseType
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