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