pub enum EnvelopeInliningTestUnion {
Small(u32),
Large(u64),
Handle(NullableHandle),
UnknownOrdinal_(u64),
}Variants§
Implementations§
Source§impl EnvelopeInliningTestUnion
impl EnvelopeInliningTestUnion
pub fn is_unknown(&self) -> bool
Trait Implementations§
Source§impl CompatFrom<EnvelopeInliningTestUnion> for EnvelopeInliningTestUnion
impl CompatFrom<EnvelopeInliningTestUnion> for EnvelopeInliningTestUnion
Source§fn compat_from(value: EnvelopeInliningTestUnion) -> Self
fn compat_from(value: EnvelopeInliningTestUnion) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<EnvelopeInliningTestUnion> for EnvelopeInliningTestUnion
impl CompatFrom<EnvelopeInliningTestUnion> for EnvelopeInliningTestUnion
Source§fn compat_from(value: EnvelopeInliningTestUnion) -> Self
fn compat_from(value: EnvelopeInliningTestUnion) -> Self
Converts
value into a value of this type.Source§impl Debug for EnvelopeInliningTestUnion
impl Debug for EnvelopeInliningTestUnion
Source§impl<___E> Encode<EnvelopeInliningTestUnion<'static>, ___E> for EnvelopeInliningTestUnionwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
impl<___E> Encode<EnvelopeInliningTestUnion<'static>, ___E> for EnvelopeInliningTestUnionwhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<EnvelopeInliningTestUnion<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<EnvelopeInliningTestUnion<'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> EncodeOption<EnvelopeInliningTestUnion<'static>, ___E> for EnvelopeInliningTestUnion
impl<___E> EncodeOption<EnvelopeInliningTestUnion<'static>, ___E> for EnvelopeInliningTestUnion
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<EnvelopeInliningTestUnion<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<EnvelopeInliningTestUnion<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'de> FromWire<EnvelopeInliningTestUnion<'de>> for EnvelopeInliningTestUnion
impl<'de> FromWire<EnvelopeInliningTestUnion<'de>> for EnvelopeInliningTestUnion
Source§fn from_wire(wire: EnvelopeInliningTestUnion<'de>) -> Self
fn from_wire(wire: EnvelopeInliningTestUnion<'de>) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireOption<EnvelopeInliningTestUnion<'de>> for Box<EnvelopeInliningTestUnion>
impl<'de> FromWireOption<EnvelopeInliningTestUnion<'de>> for Box<EnvelopeInliningTestUnion>
Source§fn from_wire_option(wire: EnvelopeInliningTestUnion<'de>) -> Option<Self>
fn from_wire_option(wire: EnvelopeInliningTestUnion<'de>) -> Option<Self>
Converts the given owned value to an option of this type.
Source§impl<'de> FromWireOption<EnvelopeInliningTestUnion<'de>> for EnvelopeInliningTestUnion
impl<'de> FromWireOption<EnvelopeInliningTestUnion<'de>> for EnvelopeInliningTestUnion
Source§fn from_wire_option(wire: EnvelopeInliningTestUnion<'de>) -> Option<Self>
fn from_wire_option(wire: EnvelopeInliningTestUnion<'de>) -> Option<Self>
Converts the given owned value to an option of this type.
impl StructuralPartialEq for EnvelopeInliningTestUnion
Auto Trait Implementations§
impl Freeze for EnvelopeInliningTestUnion
impl RefUnwindSafe for EnvelopeInliningTestUnion
impl Send for EnvelopeInliningTestUnion
impl Sync for EnvelopeInliningTestUnion
impl Unpin for EnvelopeInliningTestUnion
impl UnsafeUnpin for EnvelopeInliningTestUnion
impl UnwindSafe for EnvelopeInliningTestUnion
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, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§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]