#[repr(C)]pub struct SingleOptionalHandle {
pub h: OptionalNullableHandle,
}Expand description
The wire type corresponding to SingleOptionalHandle.
Fields§
§h: OptionalNullableHandleTrait Implementations§
Source§impl Constrained for SingleOptionalHandle
impl Constrained for SingleOptionalHandle
Source§impl Debug for SingleOptionalHandle
impl Debug for SingleOptionalHandle
Source§impl<___D> Decode<___D> for SingleOptionalHandlewhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for SingleOptionalHandlewhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
Source§impl<___E> Encode<SingleOptionalHandle, ___E> for SingleOptionalHandlewhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<SingleOptionalHandle, ___E> for SingleOptionalHandlewhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, SingleOptionalHandle>
const COPY_OPTIMIZATION: CopyOptimization<Self, SingleOptionalHandle>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<SingleOptionalHandle>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<SingleOptionalHandle>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<___E, T0> Encode<SingleOptionalHandle, ___E> for SingleOptionalHandle<T0>where
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
T0: Encode<OptionalNullableHandle, ___E>,
impl<___E, T0> Encode<SingleOptionalHandle, ___E> for SingleOptionalHandle<T0>where
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
T0: Encode<OptionalNullableHandle, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<SingleOptionalHandle>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<SingleOptionalHandle>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl FromWire<SingleOptionalHandle> for SingleOptionalHandle
impl FromWire<SingleOptionalHandle> for SingleOptionalHandle
Source§const COPY_OPTIMIZATION: CopyOptimization<SingleOptionalHandle, Self>
const COPY_OPTIMIZATION: CopyOptimization<SingleOptionalHandle, Self>
Source§fn from_wire(wire: SingleOptionalHandle) -> Self
fn from_wire(wire: SingleOptionalHandle) -> Self
Converts the given owned value to this type.
Source§impl IntoNatural for SingleOptionalHandle
impl IntoNatural for SingleOptionalHandle
Source§type Natural = SingleOptionalHandle
type Natural = SingleOptionalHandle
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 SingleOptionalHandle
impl Wire for SingleOptionalHandle
Source§type Narrowed<'de> = SingleOptionalHandle
type Narrowed<'de> = SingleOptionalHandle
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 SingleOptionalHandle
impl RefUnwindSafe for SingleOptionalHandle
impl Send for SingleOptionalHandle
impl Sync for SingleOptionalHandle
impl Unpin for SingleOptionalHandle
impl UnsafeUnpin for SingleOptionalHandle
impl UnwindSafe for SingleOptionalHandle
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]