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