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<'static>
type Encoded = WireNodeInfoDeprecated<'static>
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, Self::Encoded> = _
Whether the conversion from
Self
to Self::Encoded
is equivalent to copying the raw bytes
of Self
. Read moreSource§impl EncodableOption for NodeInfoDeprecated
impl EncodableOption for NodeInfoDeprecated
Source§type EncodedOption = WireOptionalNodeInfoDeprecated<'static>
type EncodedOption = WireOptionalNodeInfoDeprecated<'static>
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 NodeInfoDeprecatedwhere
___E: ?Sized,
NodeInfoDeprecated: Encode<___E>,
impl<___E> EncodeOption<___E> for NodeInfoDeprecatedwhere
___E: ?Sized,
NodeInfoDeprecated: Encode<___E>,
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Self::EncodedOption>,
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Self::EncodedOption>, ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'de> FromWire<WireNodeInfoDeprecated<'de>> for NodeInfoDeprecated
impl<'de> FromWire<WireNodeInfoDeprecated<'de>> for NodeInfoDeprecated
Source§fn from_wire(wire: WireNodeInfoDeprecated<'de>) -> Self
fn from_wire(wire: WireNodeInfoDeprecated<'de>) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireOption<WireOptionalNodeInfoDeprecated<'de>> for Box<NodeInfoDeprecated>
impl<'de> FromWireOption<WireOptionalNodeInfoDeprecated<'de>> for Box<NodeInfoDeprecated>
Source§fn from_wire_option(wire: WireOptionalNodeInfoDeprecated<'de>) -> Option<Self>
fn from_wire_option(wire: WireOptionalNodeInfoDeprecated<'de>) -> Option<Self>
Converts the given
wire
to an option of this type.Auto 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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<WireBox<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
fn from_wire_option(wire: WireBox<'_, W>) -> Option<T>
Converts the given
wire
to an option of this type.