#[repr(C)]pub struct DirEntry {
pub token: Handle,
}
Fields§
§token: Handle
Trait Implementations§
Source§impl Encodable for DirEntry
impl Encodable for DirEntry
Source§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§type Encoded = WireDirEntry
type Encoded = WireDirEntry
The wire type for the value.
Source§impl EncodableOption for Box<DirEntry>
impl EncodableOption for Box<DirEntry>
Source§type EncodedOption = WireBox<WireDirEntry>
type EncodedOption = WireBox<WireDirEntry>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for DirEntrywhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<___E> for DirEntrywhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§impl<___E> EncodeOption<___E> for Box<DirEntry>
impl<___E> EncodeOption<___E> for Box<DirEntry>
Source§fn encode_option(
this: Option<&mut Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<&mut Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl TakeFrom<WireDirEntry> for DirEntry
impl TakeFrom<WireDirEntry> for DirEntry
Source§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§fn take_from(from: &WireDirEntry) -> Self
fn take_from(from: &WireDirEntry) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.Auto Trait Implementations§
impl Freeze for DirEntry
impl RefUnwindSafe for DirEntry
impl Send for DirEntry
impl Sync for DirEntry
impl Unpin for DirEntry
impl UnwindSafe for DirEntry
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