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