pub enum NodeInfoDeprecated {
Service(Service),
File(FileObject),
Directory(DirectoryObject),
Symlink(SymlinkObject),
}
Variants§
Trait Implementations§
Source§impl Debug for NodeInfoDeprecated
impl Debug for NodeInfoDeprecated
Source§impl Encodable for NodeInfoDeprecated
impl Encodable for NodeInfoDeprecated
Source§type Encoded = WireNodeInfoDeprecated
type Encoded = WireNodeInfoDeprecated
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 EncodableOption for Box<NodeInfoDeprecated>
impl EncodableOption for Box<NodeInfoDeprecated>
Source§type EncodedOption = WireOptionalNodeInfoDeprecated
type EncodedOption = WireOptionalNodeInfoDeprecated
The wire type for the optional value.
Source§impl<___E> Encode<___E> for NodeInfoDeprecatedwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
impl<___E> Encode<___E> for NodeInfoDeprecatedwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
Source§impl<___E> EncodeOption<___E> for Box<NodeInfoDeprecated>where
___E: ?Sized,
NodeInfoDeprecated: Encode<___E>,
impl<___E> EncodeOption<___E> for Box<NodeInfoDeprecated>where
___E: ?Sized,
NodeInfoDeprecated: Encode<___E>,
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<WireNodeInfoDeprecated> for NodeInfoDeprecated
impl TakeFrom<WireNodeInfoDeprecated> for NodeInfoDeprecated
Source§fn take_from(from: &WireNodeInfoDeprecated) -> Self
fn take_from(from: &WireNodeInfoDeprecated) -> 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 moreAuto Trait Implementations§
impl Freeze for NodeInfoDeprecated
impl RefUnwindSafe for NodeInfoDeprecated
impl Send for NodeInfoDeprecated
impl Sync for NodeInfoDeprecated
impl Unpin for NodeInfoDeprecated
impl UnwindSafe for NodeInfoDeprecated
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