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