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