Enum linux_api::fcntl::FcntlOwner
source · #[repr(u32)]pub enum FcntlOwner {
F_OWNER_TID = 0,
F_OWNER_PID = 1,
F_OWNER_PGRP = 2,
}
Expand description
Owner, as used with FcntlCommand::F_SETOWN_EX
and FcntlCommand::F_GETOWN_EX
Variants§
Trait Implementations§
source§impl Clone for FcntlOwner
impl Clone for FcntlOwner
source§fn clone(&self) -> FcntlOwner
fn clone(&self) -> FcntlOwner
Returns a copy 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 FcntlOwner
impl Debug for FcntlOwner
source§impl From<FcntlOwner> for u32
impl From<FcntlOwner> for u32
source§fn from(enum_value: FcntlOwner) -> Self
fn from(enum_value: FcntlOwner) -> Self
Converts to this type from the input type.
source§impl PartialEq for FcntlOwner
impl PartialEq for FcntlOwner
source§impl TryFrom<u32> for FcntlOwner
impl TryFrom<u32> for FcntlOwner
source§type Error = TryFromPrimitiveError<FcntlOwner>
type Error = TryFromPrimitiveError<FcntlOwner>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for FcntlOwner
impl TryFromPrimitive for FcntlOwner
type Primitive = u32
type Error = TryFromPrimitiveError<FcntlOwner>
const NAME: &'static str = "FcntlOwner"
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for FcntlOwner
impl Eq for FcntlOwner
impl StructuralPartialEq for FcntlOwner
Auto Trait Implementations§
impl Freeze for FcntlOwner
impl RefUnwindSafe for FcntlOwner
impl Send for FcntlOwner
impl Sync for FcntlOwner
impl Unpin for FcntlOwner
impl UnwindSafe for FcntlOwner
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)