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