pub struct WireOptionalConfigSingleValue<'de> { /* private fields */ }
Implementations§
Source§impl<'de> WireOptionalConfigSingleValue<'de>
impl<'de> WireOptionalConfigSingleValue<'de>
pub fn is_some(&self) -> bool
pub fn is_none(&self) -> bool
pub fn as_ref(&self) -> Option<&WireConfigSingleValue<'de>>
pub fn into_option(self) -> Option<WireConfigSingleValue<'de>>
Trait Implementations§
Source§impl<'de> Debug for WireOptionalConfigSingleValue<'de>
impl<'de> Debug for WireOptionalConfigSingleValue<'de>
Source§impl<___D> Decode<___D> for WireOptionalConfigSingleValue<'static>where
___D: InternalHandleDecoder + ?Sized + Decoder,
impl<___D> Decode<___D> for WireOptionalConfigSingleValue<'static>where
___D: InternalHandleDecoder + ?Sized + Decoder,
Source§impl<'de> FromWireOption<WireOptionalConfigSingleValue<'de>> for Box<ConfigSingleValue>
impl<'de> FromWireOption<WireOptionalConfigSingleValue<'de>> for Box<ConfigSingleValue>
Source§fn from_wire_option(wire: WireOptionalConfigSingleValue<'de>) -> Option<Self>
fn from_wire_option(wire: WireOptionalConfigSingleValue<'de>) -> Option<Self>
Converts the given
wire
to an option of this type.Source§impl<'de> FromWireOptionRef<WireOptionalConfigSingleValue<'de>> for Box<ConfigSingleValue>
impl<'de> FromWireOptionRef<WireOptionalConfigSingleValue<'de>> for Box<ConfigSingleValue>
Source§fn from_wire_option_ref(
wire: &WireOptionalConfigSingleValue<'de>,
) -> Option<Self>
fn from_wire_option_ref( wire: &WireOptionalConfigSingleValue<'de>, ) -> Option<Self>
Converts the given
wire
reference to an option of this type.Source§impl Wire for WireOptionalConfigSingleValue<'static>
impl Wire for WireOptionalConfigSingleValue<'static>
Source§type Decoded<'de> = WireOptionalConfigSingleValue<'de>
type Decoded<'de> = WireOptionalConfigSingleValue<'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 WireOptionalConfigSingleValue<'de>
impl<'de> RefUnwindSafe for WireOptionalConfigSingleValue<'de>
impl<'de> !Send for WireOptionalConfigSingleValue<'de>
impl<'de> !Sync for WireOptionalConfigSingleValue<'de>
impl<'de> Unpin for WireOptionalConfigSingleValue<'de>
impl<'de> !UnwindSafe for WireOptionalConfigSingleValue<'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