pub enum SetXAttrFlags {
Create,
Replace,
}Variants§
Implementations§
Source§impl SetXAttrFlags
impl SetXAttrFlags
pub const fn to_libc_type(self) -> i32
pub const fn from_libc_type(from: i32) -> Option<Self>
Trait Implementations§
Source§impl Clone for SetXAttrFlags
impl Clone for SetXAttrFlags
Source§fn clone(&self) -> SetXAttrFlags
fn clone(&self) -> SetXAttrFlags
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 moreSource§impl Debug for SetXAttrFlags
impl Debug for SetXAttrFlags
Source§impl Hash for SetXAttrFlags
impl Hash for SetXAttrFlags
Source§impl Ord for SetXAttrFlags
impl Ord for SetXAttrFlags
Source§fn cmp(&self, other: &SetXAttrFlags) -> Ordering
fn cmp(&self, other: &SetXAttrFlags) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SetXAttrFlags
impl PartialEq for SetXAttrFlags
Source§fn eq(&self, other: &SetXAttrFlags) -> bool
fn eq(&self, other: &SetXAttrFlags) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SetXAttrFlags
impl PartialOrd for SetXAttrFlags
impl Copy for SetXAttrFlags
impl Eq for SetXAttrFlags
impl StructuralPartialEq for SetXAttrFlags
Auto Trait Implementations§
impl Freeze for SetXAttrFlags
impl RefUnwindSafe for SetXAttrFlags
impl Send for SetXAttrFlags
impl Sync for SetXAttrFlags
impl Unpin for SetXAttrFlags
impl UnsafeUnpin for SetXAttrFlags
impl UnwindSafe for SetXAttrFlags
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more