pub struct WireDirentType { /* private fields */ }
Expand description
The wire type corresponding to DirentType
.
Implementations§
Source§impl WireDirentType
impl WireDirentType
pub const UNKNOWN: WireDirentType
pub const DIRECTORY: WireDirentType
pub const BLOCK_DEVICE: WireDirentType
pub const FILE: WireDirentType
pub const SYMLINK: WireDirentType
pub const SERVICE: WireDirentType
Trait Implementations§
Source§impl Clone for WireDirentType
impl Clone for WireDirentType
Source§fn clone(&self) -> WireDirentType
fn clone(&self) -> WireDirentType
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 WireDirentType
impl Debug for WireDirentType
Source§impl<___D> Decode<___D> for WireDirentTypewhere
___D: ?Sized,
impl<___D> Decode<___D> for WireDirentTypewhere
___D: ?Sized,
Source§impl From<DirentType> for WireDirentType
impl From<DirentType> for WireDirentType
Source§fn from(natural: DirentType) -> Self
fn from(natural: DirentType) -> Self
Converts to this type from the input type.
Source§impl From<WireDirentType> for DirentType
impl From<WireDirentType> for DirentType
Source§fn from(wire: WireDirentType) -> Self
fn from(wire: WireDirentType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WireDirentType
impl PartialEq for WireDirentType
Source§impl TakeFrom<WireDirentType> for DirentType
impl TakeFrom<WireDirentType> for DirentType
Source§fn take_from(from: &WireDirentType) -> Self
fn take_from(from: &WireDirentType) -> 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 moreSource§impl TakeFrom<WireDirentType> for DirentType
impl TakeFrom<WireDirentType> for DirentType
Source§fn take_from(from: &WireDirentType) -> Self
fn take_from(from: &WireDirentType) -> 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 moreSource§impl ZeroPadding for WireDirentType
impl ZeroPadding for WireDirentType
Source§fn zero_padding(_: &mut MaybeUninit<Self>)
fn zero_padding(_: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
impl Copy for WireDirentType
impl Eq for WireDirentType
impl StructuralPartialEq for WireDirentType
Auto Trait Implementations§
impl Freeze for WireDirentType
impl RefUnwindSafe for WireDirentType
impl Send for WireDirentType
impl Sync for WireDirentType
impl Unpin for WireDirentType
impl UnwindSafe for WireDirentType
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