#[repr(C)]pub struct PortWatcherWatchResponse {
pub event: DevicePortEvent,
}Expand description
The wire type corresponding to PortWatcherWatchResponse.
Fields§
§event: DevicePortEventTrait Implementations§
Source§impl Clone for PortWatcherWatchResponse
impl Clone for PortWatcherWatchResponse
Source§impl Constrained for PortWatcherWatchResponse
impl Constrained for PortWatcherWatchResponse
Source§impl Debug for PortWatcherWatchResponse
impl Debug for PortWatcherWatchResponse
Source§impl<___D> Decode<___D> for PortWatcherWatchResponsewhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for PortWatcherWatchResponsewhere
___D: InternalHandleDecoder + ?Sized,
Source§impl<___E> Encode<PortWatcherWatchResponse, ___E> for PortWatcherWatchResponsewhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<PortWatcherWatchResponse, ___E> for PortWatcherWatchResponsewhere
___E: InternalHandleEncoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<PortWatcherWatchResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<PortWatcherWatchResponse>, _: (), ) -> 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<PortWatcherWatchResponse, ___E> for &'a PortWatcherWatchResponsewhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<PortWatcherWatchResponse, ___E> for &'a PortWatcherWatchResponsewhere
___E: InternalHandleEncoder + ?Sized,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<PortWatcherWatchResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<PortWatcherWatchResponse>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E, T0> Encode<PortWatcherWatchResponse, ___E> for PortWatcherWatchResponse<T0>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<DevicePortEvent, ___E>,
impl<___E, T0> Encode<PortWatcherWatchResponse, ___E> for PortWatcherWatchResponse<T0>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<DevicePortEvent, ___E>,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<PortWatcherWatchResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<PortWatcherWatchResponse>, _: (), ) -> 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, T0> Encode<PortWatcherWatchResponse, ___E> for &'a PortWatcherWatchResponse<T0>
impl<'a, ___E, T0> Encode<PortWatcherWatchResponse, ___E> for &'a PortWatcherWatchResponse<T0>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<PortWatcherWatchResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<PortWatcherWatchResponse>, _: (), ) -> 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<PortWatcherWatchResponse> for PortWatcherWatchResponse
impl FromWire<PortWatcherWatchResponse> for PortWatcherWatchResponse
Source§fn from_wire(wire: PortWatcherWatchResponse) -> Self
fn from_wire(wire: PortWatcherWatchResponse) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl FromWireRef<PortWatcherWatchResponse> for PortWatcherWatchResponse
impl FromWireRef<PortWatcherWatchResponse> for PortWatcherWatchResponse
Source§fn from_wire_ref(wire: &PortWatcherWatchResponse) -> Self
fn from_wire_ref(wire: &PortWatcherWatchResponse) -> Self
Converts the given reference to this type.
Source§impl IntoNatural for PortWatcherWatchResponse
impl IntoNatural for PortWatcherWatchResponse
Source§type Natural = PortWatcherWatchResponse
type Natural = PortWatcherWatchResponse
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 PortWatcherWatchResponse
impl Wire for PortWatcherWatchResponse
Source§type Narrowed<'de> = PortWatcherWatchResponse
type Narrowed<'de> = PortWatcherWatchResponse
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 PortWatcherWatchResponse
impl RefUnwindSafe for PortWatcherWatchResponse
impl Send for PortWatcherWatchResponse
impl Sync for PortWatcherWatchResponse
impl Unpin for PortWatcherWatchResponse
impl UnsafeUnpin for PortWatcherWatchResponse
impl UnwindSafe for PortWatcherWatchResponse
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]