pub struct DeviceGetPortRequest {
pub id: PortId,
pub port: ServerEnd<Port, Channel>,
}Fields§
§id: PortId§port: ServerEnd<Port, Channel>Trait Implementations§
Source§impl Debug for DeviceGetPortRequest
impl Debug for DeviceGetPortRequest
Source§impl<___E> Encode<DeviceGetPortRequest, ___E> for DeviceGetPortRequestwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<DeviceGetPortRequest, ___E> for DeviceGetPortRequestwhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<DeviceGetPortRequest>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<DeviceGetPortRequest>, _: (), ) -> 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> EncodeOption<Box<'static, DeviceGetPortRequest>, ___E> for DeviceGetPortRequest
impl<___E> EncodeOption<Box<'static, DeviceGetPortRequest>, ___E> for DeviceGetPortRequest
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, DeviceGetPortRequest>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, DeviceGetPortRequest>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromWire<DeviceGetPortRequest> for DeviceGetPortRequest
impl FromWire<DeviceGetPortRequest> for DeviceGetPortRequest
Source§fn from_wire(wire: DeviceGetPortRequest) -> Self
fn from_wire(wire: DeviceGetPortRequest) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl PartialEq for DeviceGetPortRequest
impl PartialEq for DeviceGetPortRequest
impl StructuralPartialEq for DeviceGetPortRequest
Auto Trait Implementations§
impl Freeze for DeviceGetPortRequest
impl RefUnwindSafe for DeviceGetPortRequest
impl Send for DeviceGetPortRequest
impl Sync for DeviceGetPortRequest
impl Unpin for DeviceGetPortRequest
impl UnsafeUnpin for DeviceGetPortRequest
impl UnwindSafe for DeviceGetPortRequest
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
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§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]