#[repr(C)]pub struct WireConfigValueSpec { /* private fields */ }
Expand description
The wire type corresponding to ConfigValueSpec
.
Implementations§
Source§impl WireConfigValueSpec
impl WireConfigValueSpec
pub fn value(&self) -> Option<&WireConfigValue>
Trait Implementations§
Source§impl Debug for WireConfigValueSpec
impl Debug for WireConfigValueSpec
Source§impl<___D> Decode<___D> for WireConfigValueSpecwhere
___D: Decoder + ?Sized,
impl<___D> Decode<___D> for WireConfigValueSpecwhere
___D: Decoder + ?Sized,
Source§impl TakeFrom<WireConfigValueSpec> for ConfigValueSpec
impl TakeFrom<WireConfigValueSpec> for ConfigValueSpec
Source§fn take_from(from: &WireConfigValueSpec) -> Self
fn take_from(from: &WireConfigValueSpec) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl TakeFrom<WireConfigValueSpec> for ConfigValueSpec
impl TakeFrom<WireConfigValueSpec> for ConfigValueSpec
Source§fn take_from(from: &WireConfigValueSpec) -> Self
fn take_from(from: &WireConfigValueSpec) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreSource§impl ZeroPadding for WireConfigValueSpec
impl ZeroPadding for WireConfigValueSpec
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 Freeze for WireConfigValueSpec
impl RefUnwindSafe for WireConfigValueSpec
impl !Send for WireConfigValueSpec
impl !Sync for WireConfigValueSpec
impl Unpin for WireConfigValueSpec
impl UnwindSafe for WireConfigValueSpec
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