pub enum Representation {
Node(NodeInfo),
Directory(DirectoryInfo),
File(FileInfo),
Symlink(SymlinkInfo),
UnknownOrdinal_(u64),
}
Variants§
Trait Implementations§
Source§impl Debug for Representation
impl Debug for Representation
Source§impl Encodable for Representation
impl Encodable for Representation
Source§type Encoded = WireRepresentation<'static>
type Encoded = WireRepresentation<'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 Representation
impl EncodableOption for Representation
Source§type EncodedOption = WireOptionalRepresentation<'static>
type EncodedOption = WireOptionalRepresentation<'static>
The wire type for the optional value.
Source§impl<___E> Encode<___E> for Representationwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
impl<___E> Encode<___E> for Representationwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
Source§impl<___E> EncodeOption<___E> for Representationwhere
___E: ?Sized,
Representation: Encode<___E>,
impl<___E> EncodeOption<___E> for Representationwhere
___E: ?Sized,
Representation: 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<WireRepresentation<'de>> for Representation
impl<'de> FromWire<WireRepresentation<'de>> for Representation
Source§fn from_wire(wire: WireRepresentation<'de>) -> Self
fn from_wire(wire: WireRepresentation<'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<WireOptionalRepresentation<'de>> for Box<Representation>
impl<'de> FromWireOption<WireOptionalRepresentation<'de>> for Box<Representation>
Source§fn from_wire_option(wire: WireOptionalRepresentation<'de>) -> Option<Self>
fn from_wire_option(wire: WireOptionalRepresentation<'de>) -> Option<Self>
Converts the given
wire
to an option of this type.Auto Trait Implementations§
impl Freeze for Representation
impl RefUnwindSafe for Representation
impl Send for Representation
impl Sync for Representation
impl Unpin for Representation
impl UnwindSafe for Representation
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.