#[repr(transparent)]pub struct FSSetXattrPolicy(pub NSUInteger);Available on crate feature
FSVolume only.Expand description
Flags to specify the policy when setting extended file attributes.
See also Apple’s documentation
Tuple Fields§
§0: NSUIntegerImplementations§
Source§impl FSSetXattrPolicy
impl FSSetXattrPolicy
Sourcepub const MustCreate: Self
pub const MustCreate: Self
Set the value, but fail if the extended attribute already exists.
Sourcepub const MustReplace: Self
pub const MustReplace: Self
Set the value, but fail if the extended attribute doesn’t already exist.
Trait Implementations§
Source§impl Clone for FSSetXattrPolicy
impl Clone for FSSetXattrPolicy
Source§fn clone(&self) -> FSSetXattrPolicy
fn clone(&self) -> FSSetXattrPolicy
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 FSSetXattrPolicy
impl Debug for FSSetXattrPolicy
Source§impl Encode for FSSetXattrPolicy
impl Encode for FSSetXattrPolicy
Source§impl Hash for FSSetXattrPolicy
impl Hash for FSSetXattrPolicy
Source§impl Ord for FSSetXattrPolicy
impl Ord for FSSetXattrPolicy
Source§fn cmp(&self, other: &FSSetXattrPolicy) -> Ordering
fn cmp(&self, other: &FSSetXattrPolicy) -> Ordering
1.21.0 · 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 FSSetXattrPolicy
impl PartialEq for FSSetXattrPolicy
Source§impl PartialOrd for FSSetXattrPolicy
impl PartialOrd for FSSetXattrPolicy
Source§impl RefEncode for FSSetXattrPolicy
impl RefEncode for FSSetXattrPolicy
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for FSSetXattrPolicy
impl Eq for FSSetXattrPolicy
impl StructuralPartialEq for FSSetXattrPolicy
Auto Trait Implementations§
impl Freeze for FSSetXattrPolicy
impl RefUnwindSafe for FSSetXattrPolicy
impl Send for FSSetXattrPolicy
impl Sync for FSSetXattrPolicy
impl Unpin for FSSetXattrPolicy
impl UnwindSafe for FSSetXattrPolicy
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> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.