#[repr(C)]pub struct NonnullableHandle {
pub h: NullableHandle,
}Fields§
§h: NullableHandleTrait Implementations§
Source§impl Debug for NonnullableHandle
impl Debug for NonnullableHandle
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> EncodeOption<Box<'static, NonnullableHandle>, ___E> for NonnullableHandle
impl<___E> EncodeOption<Box<'static, NonnullableHandle>, ___E> for NonnullableHandle
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, NonnullableHandle>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, NonnullableHandle>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
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 PartialEq for NonnullableHandle
impl PartialEq for NonnullableHandle
impl StructuralPartialEq for NonnullableHandle
Auto Trait Implementations§
impl Freeze for NonnullableHandle
impl RefUnwindSafe for NonnullableHandle
impl Send for NonnullableHandle
impl Sync for NonnullableHandle
impl Unpin 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
§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]