#[repr(u32)]pub enum SetExtendedAttributeMode {
Set = 1,
Create = 2,
Replace = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for SetExtendedAttributeMode
impl Clone for SetExtendedAttributeMode
Source§fn clone(&self) -> SetExtendedAttributeMode
fn clone(&self) -> SetExtendedAttributeMode
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 SetExtendedAttributeMode
impl Debug for SetExtendedAttributeMode
Source§impl Encodable for SetExtendedAttributeMode
impl Encodable for SetExtendedAttributeMode
Source§type Encoded = WireSetExtendedAttributeMode
type Encoded = WireSetExtendedAttributeMode
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl<___E> Encode<___E> for SetExtendedAttributeModewhere
___E: ?Sized,
impl<___E> Encode<___E> for SetExtendedAttributeModewhere
___E: ?Sized,
Source§impl From<SetExtendedAttributeMode> for WireSetExtendedAttributeMode
impl From<SetExtendedAttributeMode> for WireSetExtendedAttributeMode
Source§fn from(natural: SetExtendedAttributeMode) -> Self
fn from(natural: SetExtendedAttributeMode) -> Self
Converts to this type from the input type.
Source§impl From<WireSetExtendedAttributeMode> for SetExtendedAttributeMode
impl From<WireSetExtendedAttributeMode> for SetExtendedAttributeMode
Source§fn from(wire: WireSetExtendedAttributeMode) -> Self
fn from(wire: WireSetExtendedAttributeMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetExtendedAttributeMode
impl PartialEq for SetExtendedAttributeMode
Source§impl TakeFrom<WireSetExtendedAttributeMode> for SetExtendedAttributeMode
impl TakeFrom<WireSetExtendedAttributeMode> for SetExtendedAttributeMode
Source§fn take_from(from: &WireSetExtendedAttributeMode) -> Self
fn take_from(from: &WireSetExtendedAttributeMode) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreimpl Copy for SetExtendedAttributeMode
impl Eq for SetExtendedAttributeMode
impl StructuralPartialEq for SetExtendedAttributeMode
Auto Trait Implementations§
impl Freeze for SetExtendedAttributeMode
impl RefUnwindSafe for SetExtendedAttributeMode
impl Send for SetExtendedAttributeMode
impl Sync for SetExtendedAttributeMode
impl Unpin for SetExtendedAttributeMode
impl UnwindSafe for SetExtendedAttributeMode
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