#[repr(u32)]pub enum FcntlSealType {
F_SEAL_SEAL = 1,
F_SEAL_SHRINK = 2,
F_SEAL_GROW = 4,
F_SEAL_WRITE = 8,
F_SEAL_FUTURE_WRITE = 16,
F_SEAL_EXEC = 32,
}
Expand description
Seal type, as used with FcntlCommand::F_ADD_SEALS
and FcntlCommand::F_GET_SEALS
.
Variants§
F_SEAL_SEAL = 1
F_SEAL_SHRINK = 2
F_SEAL_GROW = 4
F_SEAL_WRITE = 8
F_SEAL_FUTURE_WRITE = 16
F_SEAL_EXEC = 32
Trait Implementations§
source§impl Clone for FcntlSealType
impl Clone for FcntlSealType
source§fn clone(&self) -> FcntlSealType
fn clone(&self) -> FcntlSealType
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 FcntlSealType
impl Debug for FcntlSealType
source§impl From<FcntlSealType> for u32
impl From<FcntlSealType> for u32
source§fn from(enum_value: FcntlSealType) -> Self
fn from(enum_value: FcntlSealType) -> Self
Converts to this type from the input type.
source§impl PartialEq for FcntlSealType
impl PartialEq for FcntlSealType
source§impl TryFrom<u32> for FcntlSealType
impl TryFrom<u32> for FcntlSealType
source§type Error = TryFromPrimitiveError<FcntlSealType>
type Error = TryFromPrimitiveError<FcntlSealType>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for FcntlSealType
impl TryFromPrimitive for FcntlSealType
const NAME: &'static str = "FcntlSealType"
type Primitive = u32
type Error = TryFromPrimitiveError<FcntlSealType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for FcntlSealType
impl Eq for FcntlSealType
impl StructuralPartialEq for FcntlSealType
Auto Trait Implementations§
impl Freeze for FcntlSealType
impl RefUnwindSafe for FcntlSealType
impl Send for FcntlSealType
impl Sync for FcntlSealType
impl Unpin for FcntlSealType
impl UnwindSafe for FcntlSealType
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
)