pub struct BoxOfSingleHandle {
pub b: Option<Box<SingleHandle>>,
}Fields§
§b: Option<Box<SingleHandle>>Trait Implementations§
Source§impl CompatFrom<BoxOfSingleHandle> for BoxOfSingleHandle
impl CompatFrom<BoxOfSingleHandle> for BoxOfSingleHandle
Source§fn compat_from(value: BoxOfSingleHandle) -> Self
fn compat_from(value: BoxOfSingleHandle) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<BoxOfSingleHandle> for BoxOfSingleHandle
impl CompatFrom<BoxOfSingleHandle> for BoxOfSingleHandle
Source§fn compat_from(value: BoxOfSingleHandle) -> Self
fn compat_from(value: BoxOfSingleHandle) -> Self
Converts
value into a value of this type.Source§impl Debug for BoxOfSingleHandle
impl Debug for BoxOfSingleHandle
Source§impl<___E> Encode<BoxOfSingleHandle<'static>, ___E> for BoxOfSingleHandlewhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
impl<___E> Encode<BoxOfSingleHandle<'static>, ___E> for BoxOfSingleHandlewhere
___E: InternalHandleEncoder + ?Sized + Encoder + HandleEncoder,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<BoxOfSingleHandle<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<BoxOfSingleHandle<'static>>, _: (), ) -> 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<Box<'static, BoxOfSingleHandle<'static>>, ___E> for BoxOfSingleHandle
impl<___E> EncodeOption<Box<'static, BoxOfSingleHandle<'static>>, ___E> for BoxOfSingleHandle
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, BoxOfSingleHandle<'static>>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, BoxOfSingleHandle<'static>>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'de> FromWire<BoxOfSingleHandle<'de>> for BoxOfSingleHandle
impl<'de> FromWire<BoxOfSingleHandle<'de>> for BoxOfSingleHandle
Source§fn from_wire(wire: BoxOfSingleHandle<'de>) -> Self
fn from_wire(wire: BoxOfSingleHandle<'de>) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl PartialEq for BoxOfSingleHandle
impl PartialEq for BoxOfSingleHandle
impl StructuralPartialEq for BoxOfSingleHandle
Auto Trait Implementations§
impl Freeze for BoxOfSingleHandle
impl RefUnwindSafe for BoxOfSingleHandle
impl Send for BoxOfSingleHandle
impl Sync for BoxOfSingleHandle
impl Unpin for BoxOfSingleHandle
impl UnsafeUnpin for BoxOfSingleHandle
impl UnwindSafe for BoxOfSingleHandle
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]