#[repr(C)]pub struct SymlinkObject<'de> {
pub target: Vector<'de, u8>,
}Expand description
The wire type corresponding to SymlinkObject.
Fields§
§target: Vector<'de, u8>Trait Implementations§
Source§impl Constrained for SymlinkObject<'_>
impl Constrained for SymlinkObject<'_>
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, SymlinkObject<'_>>,
_: <SymlinkObject<'_> as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, SymlinkObject<'_>>, _: <SymlinkObject<'_> as Constrained>::Constraint, ) -> Result<(), ValidationError>
Validate a slot of this type against a constraint. Can be called when
pointers/envelopes are just presence markers.
Source§impl<'de> Debug for SymlinkObject<'de>
impl<'de> Debug for SymlinkObject<'de>
Source§impl<'de, ___D> Decode<___D> for SymlinkObject<'de>where
___D: InternalHandleDecoder + Decoder<'de> + ?Sized,
impl<'de, ___D> Decode<___D> for SymlinkObject<'de>where
___D: InternalHandleDecoder + Decoder<'de> + ?Sized,
Source§impl<'a, ___E> Encode<SymlinkObject<'static>, ___E> for &'a SymlinkObjectwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<'a, ___E> Encode<SymlinkObject<'static>, ___E> for &'a SymlinkObjectwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<SymlinkObject<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<SymlinkObject<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<SymlinkObject<'static>, ___E> for SymlinkObjectwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<___E> Encode<SymlinkObject<'static>, ___E> for SymlinkObjectwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<SymlinkObject<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<SymlinkObject<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E, T0> Encode<SymlinkObject<'static>, ___E> for SymlinkObject<T0>
impl<___E, T0> Encode<SymlinkObject<'static>, ___E> for SymlinkObject<T0>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<SymlinkObject<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<SymlinkObject<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'de> FromWire<SymlinkObject<'de>> for SymlinkObject
impl<'de> FromWire<SymlinkObject<'de>> for SymlinkObject
Source§fn from_wire(wire: SymlinkObject<'de>) -> SymlinkObject
fn from_wire(wire: SymlinkObject<'de>) -> SymlinkObject
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<SymlinkObject<'de>> for SymlinkObject
impl<'de> FromWireRef<SymlinkObject<'de>> for SymlinkObject
Source§fn from_wire_ref(wire: &SymlinkObject<'de>) -> SymlinkObject
fn from_wire_ref(wire: &SymlinkObject<'de>) -> SymlinkObject
Converts the given reference to this type.
Source§impl<'de> IntoNatural for SymlinkObject<'de>
impl<'de> IntoNatural for SymlinkObject<'de>
Source§type Natural = SymlinkObject
type Natural = SymlinkObject
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl Wire for SymlinkObject<'static>
impl Wire for SymlinkObject<'static>
Source§type Narrowed<'de> = SymlinkObject<'de>
type Narrowed<'de> = SymlinkObject<'de>
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(out_: &mut MaybeUninit<SymlinkObject<'static>>)
fn zero_padding(out_: &mut MaybeUninit<SymlinkObject<'static>>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl<'de> Freeze for SymlinkObject<'de>
impl<'de> RefUnwindSafe for SymlinkObject<'de>
impl<'de> Send for SymlinkObject<'de>
impl<'de> Sync for SymlinkObject<'de>
impl<'de> Unpin for SymlinkObject<'de>
impl<'de> UnsafeUnpin for SymlinkObject<'de>
impl<'de> !UnwindSafe for SymlinkObject<'de>
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]