#[repr(C)]pub struct WireDictionaryOptionalItem<'de> {
pub key: WireString<'de>,
pub value: WireBox<'de, WireWrappedCapabilityId>,
}
Expand description
The wire type corresponding to DictionaryOptionalItem
.
Fields§
§key: WireString<'de>
§value: WireBox<'de, WireWrappedCapabilityId>
Trait Implementations§
Source§impl<'de> Debug for WireDictionaryOptionalItem<'de>
impl<'de> Debug for WireDictionaryOptionalItem<'de>
Source§impl<___D> Decode<___D> for WireDictionaryOptionalItem<'static>where
___D: InternalHandleDecoder + ?Sized + Decoder + HandleDecoder,
impl<___D> Decode<___D> for WireDictionaryOptionalItem<'static>where
___D: InternalHandleDecoder + ?Sized + Decoder + HandleDecoder,
Source§impl<'de> FromWire<WireDictionaryOptionalItem<'de>> for DictionaryOptionalItem
impl<'de> FromWire<WireDictionaryOptionalItem<'de>> for DictionaryOptionalItem
Source§fn from_wire(wire: WireDictionaryOptionalItem<'de>) -> Self
fn from_wire(wire: WireDictionaryOptionalItem<'de>) -> Self
Converts the given
wire
to this type.§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl Wire for WireDictionaryOptionalItem<'static>
impl Wire for WireDictionaryOptionalItem<'static>
Source§type Decoded<'de> = WireDictionaryOptionalItem<'de>
type Decoded<'de> = WireDictionaryOptionalItem<'de>
The decoded 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<'de> Freeze for WireDictionaryOptionalItem<'de>
impl<'de> RefUnwindSafe for WireDictionaryOptionalItem<'de>
impl<'de> Send for WireDictionaryOptionalItem<'de>
impl<'de> Sync for WireDictionaryOptionalItem<'de>
impl<'de> Unpin for WireDictionaryOptionalItem<'de>
impl<'de> !UnwindSafe for WireDictionaryOptionalItem<'de>
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