pub struct DevicePortEvent { /* private fields */ }Expand description
The wire type corresponding to DevicePortEvent.
Implementations§
Trait Implementations§
Source§impl Clone for DevicePortEvent
impl Clone for DevicePortEvent
Source§fn clone(&self) -> DevicePortEvent
fn clone(&self) -> DevicePortEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Constrained for DevicePortEvent
impl Constrained for DevicePortEvent
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§fn validate(
_: Slot<'_, DevicePortEvent>,
_: <DevicePortEvent as Constrained>::Constraint,
) -> Result<(), ValidationError>
fn validate( _: Slot<'_, DevicePortEvent>, _: <DevicePortEvent as Constrained>::Constraint, ) -> Result<(), ValidationError>
Validate a slot of this type against a constraint. Can be called when
pointers/envelopes are just presence markers.
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 Drop for DevicePortEvent
impl Drop for DevicePortEvent
Source§impl<___E> Encode<DevicePortEvent, ___E> for DevicePortEventwhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<DevicePortEvent, ___E> for DevicePortEventwhere
___E: InternalHandleEncoder + ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<DevicePortEvent>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<DevicePortEvent>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'a, ___E> Encode<DevicePortEvent, ___E> for &'a DevicePortEventwhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<DevicePortEvent, ___E> for &'a DevicePortEventwhere
___E: InternalHandleEncoder + ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<DevicePortEvent>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<DevicePortEvent>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl FromWire<DevicePortEvent> for DevicePortEvent
impl FromWire<DevicePortEvent> for DevicePortEvent
Source§fn from_wire(wire: DevicePortEvent) -> DevicePortEvent
fn from_wire(wire: DevicePortEvent) -> DevicePortEvent
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<DevicePortEvent> for DevicePortEvent
impl FromWireRef<DevicePortEvent> for DevicePortEvent
Source§fn from_wire_ref(wire: &DevicePortEvent) -> DevicePortEvent
fn from_wire_ref(wire: &DevicePortEvent) -> DevicePortEvent
Converts the given reference to this type.
Source§impl IntoNatural for DevicePortEvent
impl IntoNatural for DevicePortEvent
Source§type Natural = DevicePortEvent
type Natural = 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<DevicePortEvent>)
fn zero_padding(out: &mut MaybeUninit<DevicePortEvent>)
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]