pub struct UnionOfHandle { /* private fields */ }Implementations§
Source§impl UnionOfHandle
impl UnionOfHandle
pub fn is_some(&self) -> bool
pub fn is_none(&self) -> bool
pub fn as_ref(&self) -> Option<&UnionOfHandle>
pub fn into_option(self) -> Option<UnionOfHandle>
Trait Implementations§
Source§impl Constrained for UnionOfHandle
impl Constrained for UnionOfHandle
Source§impl Debug for UnionOfHandle
impl Debug for UnionOfHandle
Source§impl<___D> Decode<___D> for UnionOfHandlewhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for UnionOfHandlewhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
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 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 IntoNatural for UnionOfHandle
impl IntoNatural for UnionOfHandle
Source§type Natural = Option<UnionOfHandle>
type Natural = Option<UnionOfHandle>
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 UnionOfHandle
impl Wire for UnionOfHandle
Source§type Narrowed<'de> = UnionOfHandle
type Narrowed<'de> = UnionOfHandle
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(out: &mut MaybeUninit<Self>)
fn zero_padding(out: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
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> 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]