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