pub struct DevicePortEvent { /* private fields */ }Implementations§
Source§impl DevicePortEvent
impl DevicePortEvent
pub fn is_some(&self) -> bool
pub fn is_none(&self) -> bool
pub fn as_ref(&self) -> Option<&DevicePortEvent>
pub fn into_option(self) -> Option<DevicePortEvent>
Trait Implementations§
Source§impl Clone for DevicePortEvent
impl Clone for DevicePortEvent
Source§impl Constrained for DevicePortEvent
impl Constrained for DevicePortEvent
Source§impl Debug for DevicePortEvent
impl Debug for DevicePortEvent
Source§impl<___D> Decode<___D> for DevicePortEventwhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for DevicePortEventwhere
___D: InternalHandleDecoder + ?Sized,
Source§impl<___E> EncodeOption<DevicePortEvent, ___E> for DevicePortEvent
impl<___E> EncodeOption<DevicePortEvent, ___E> for DevicePortEvent
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<DevicePortEvent>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<DevicePortEvent>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<'a, ___E> EncodeOption<DevicePortEvent, ___E> for &'a DevicePortEvent
impl<'a, ___E> EncodeOption<DevicePortEvent, ___E> for &'a DevicePortEvent
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<DevicePortEvent>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<DevicePortEvent>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromWireOption<DevicePortEvent> for DevicePortEvent
impl FromWireOption<DevicePortEvent> for DevicePortEvent
Source§fn from_wire_option(wire: DevicePortEvent) -> Option<Self>
fn from_wire_option(wire: DevicePortEvent) -> Option<Self>
Converts the given owned value to an option of this type.
Source§impl FromWireOption<DevicePortEvent> for Box<DevicePortEvent>
impl FromWireOption<DevicePortEvent> for Box<DevicePortEvent>
Source§fn from_wire_option(wire: DevicePortEvent) -> Option<Self>
fn from_wire_option(wire: DevicePortEvent) -> Option<Self>
Converts the given owned value to an option of this type.
Source§impl FromWireOptionRef<DevicePortEvent> for Box<DevicePortEvent>
impl FromWireOptionRef<DevicePortEvent> for Box<DevicePortEvent>
Source§fn from_wire_option_ref(wire: &DevicePortEvent) -> Option<Self>
fn from_wire_option_ref(wire: &DevicePortEvent) -> Option<Self>
Converts the given reference to an option of this type.
Source§impl IntoNatural for DevicePortEvent
impl IntoNatural for DevicePortEvent
Source§type Natural = Option<DevicePortEvent>
type Natural = Option<DevicePortEvent>
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl Wire for DevicePortEvent
impl Wire for DevicePortEvent
Source§type Narrowed<'de> = DevicePortEvent
type Narrowed<'de> = DevicePortEvent
The narrowed 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 DevicePortEvent
impl RefUnwindSafe for DevicePortEvent
impl Send for DevicePortEvent
impl Sync for DevicePortEvent
impl Unpin for DevicePortEvent
impl UnsafeUnpin for DevicePortEvent
impl UnwindSafe for DevicePortEvent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]