#[repr(C)]pub struct RecursiveOptionalStructWithString<'de> {
pub inner: Box<'de, RecursiveOptionalStructWithString<'de>>,
pub str: OptionalString<'de>,
}Expand description
The wire type corresponding to RecursiveOptionalStructWithString.
Fields§
§inner: Box<'de, RecursiveOptionalStructWithString<'de>>§str: OptionalString<'de>Trait Implementations§
Source§impl Constrained for RecursiveOptionalStructWithString<'_>
impl Constrained for RecursiveOptionalStructWithString<'_>
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, RecursiveOptionalStructWithString<'_>>,
_: <RecursiveOptionalStructWithString<'_> as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, RecursiveOptionalStructWithString<'_>>, _: <RecursiveOptionalStructWithString<'_> 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 RecursiveOptionalStructWithString<'de>
impl<'de> Debug for RecursiveOptionalStructWithString<'de>
Source§impl<'de, ___D> Decode<___D> for RecursiveOptionalStructWithString<'de>where
___D: InternalHandleDecoder + Decoder<'de> + ?Sized,
impl<'de, ___D> Decode<___D> for RecursiveOptionalStructWithString<'de>where
___D: InternalHandleDecoder + Decoder<'de> + ?Sized,
Source§impl<'a, ___E> Encode<RecursiveOptionalStructWithString<'static>, ___E> for &'a RecursiveOptionalStructWithStringwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<'a, ___E> Encode<RecursiveOptionalStructWithString<'static>, ___E> for &'a RecursiveOptionalStructWithStringwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<RecursiveOptionalStructWithString<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<RecursiveOptionalStructWithString<'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<RecursiveOptionalStructWithString<'static>, ___E> for RecursiveOptionalStructWithStringwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
impl<___E> Encode<RecursiveOptionalStructWithString<'static>, ___E> for RecursiveOptionalStructWithStringwhere
___E: InternalHandleEncoder + Encoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<RecursiveOptionalStructWithString<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<RecursiveOptionalStructWithString<'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, T1> Encode<RecursiveOptionalStructWithString<'static>, ___E> for RecursiveOptionalStructWithString<T0, T1>where
___E: InternalHandleEncoder + Encoder + ?Sized,
T0: Encode<Box<'static, RecursiveOptionalStructWithString<'static>>, ___E>,
T1: Encode<OptionalString<'static>, ___E>,
impl<___E, T0, T1> Encode<RecursiveOptionalStructWithString<'static>, ___E> for RecursiveOptionalStructWithString<T0, T1>where
___E: InternalHandleEncoder + Encoder + ?Sized,
T0: Encode<Box<'static, RecursiveOptionalStructWithString<'static>>, ___E>,
T1: Encode<OptionalString<'static>, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<RecursiveOptionalStructWithString<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<RecursiveOptionalStructWithString<'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<RecursiveOptionalStructWithString<'de>> for RecursiveOptionalStructWithString
impl<'de> FromWire<RecursiveOptionalStructWithString<'de>> for RecursiveOptionalStructWithString
Source§fn from_wire(
wire: RecursiveOptionalStructWithString<'de>,
) -> RecursiveOptionalStructWithString
fn from_wire( wire: RecursiveOptionalStructWithString<'de>, ) -> RecursiveOptionalStructWithString
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<RecursiveOptionalStructWithString<'de>> for RecursiveOptionalStructWithString
impl<'de> FromWireRef<RecursiveOptionalStructWithString<'de>> for RecursiveOptionalStructWithString
Source§fn from_wire_ref(
wire: &RecursiveOptionalStructWithString<'de>,
) -> RecursiveOptionalStructWithString
fn from_wire_ref( wire: &RecursiveOptionalStructWithString<'de>, ) -> RecursiveOptionalStructWithString
Converts the given reference to this type.
Source§impl<'de> IntoNatural for RecursiveOptionalStructWithString<'de>
impl<'de> IntoNatural for RecursiveOptionalStructWithString<'de>
Source§type Natural = RecursiveOptionalStructWithString
type Natural = RecursiveOptionalStructWithString
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 RecursiveOptionalStructWithString<'static>
impl Wire for RecursiveOptionalStructWithString<'static>
Source§type Narrowed<'de> = RecursiveOptionalStructWithString<'de>
type Narrowed<'de> = RecursiveOptionalStructWithString<'de>
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(
out_: &mut MaybeUninit<RecursiveOptionalStructWithString<'static>>,
)
fn zero_padding( out_: &mut MaybeUninit<RecursiveOptionalStructWithString<'static>>, )
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl<'de> Freeze for RecursiveOptionalStructWithString<'de>
impl<'de> RefUnwindSafe for RecursiveOptionalStructWithString<'de>
impl<'de> Send for RecursiveOptionalStructWithString<'de>
impl<'de> Sync for RecursiveOptionalStructWithString<'de>
impl<'de> Unpin for RecursiveOptionalStructWithString<'de>
impl<'de> UnsafeUnpin for RecursiveOptionalStructWithString<'de>
impl<'de> !UnwindSafe for RecursiveOptionalStructWithString<'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]