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