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 FromWire<WireDirentType> for DirentType
impl FromWire<WireDirentType> for DirentType
Source§fn from_wire(wire: WireDirentType) -> Self
fn from_wire(wire: WireDirentType) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<WireDirentType> for DirentType
impl FromWireRef<WireDirentType> for DirentType
Source§fn from_wire_ref(wire: &WireDirentType) -> Self
fn from_wire_ref(wire: &WireDirentType) -> Self
Converts the given
wire
reference to this type.Source§impl PartialEq for WireDirentType
impl PartialEq for WireDirentType
Source§impl Wire for WireDirentType
impl Wire for WireDirentType
Source§type Decoded<'de> = WireDirentType
type Decoded<'de> = WireDirentType
The decoded wire type, restricted to the
'de
lifetime.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