#[repr(C)]pub struct DeviceOpenSessionResponse {
pub session: ClientEnd<Session, Channel>,
pub fifos: Fifos,
}Expand description
The wire type corresponding to DeviceOpenSessionResponse.
Fields§
§session: ClientEnd<Session, Channel>§fifos: FifosTrait Implementations§
Source§impl Constrained for DeviceOpenSessionResponse
impl Constrained for DeviceOpenSessionResponse
Source§impl Debug for DeviceOpenSessionResponse
impl Debug for DeviceOpenSessionResponse
Source§impl<___D> Decode<___D> for DeviceOpenSessionResponsewhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
impl<___D> Decode<___D> for DeviceOpenSessionResponsewhere
___D: InternalHandleDecoder + ?Sized + HandleDecoder,
Source§impl<___E> Encode<DeviceOpenSessionResponse, ___E> for DeviceOpenSessionResponsewhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
impl<___E> Encode<DeviceOpenSessionResponse, ___E> for DeviceOpenSessionResponsewhere
___E: InternalHandleEncoder + ?Sized + HandleEncoder,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, DeviceOpenSessionResponse>
const COPY_OPTIMIZATION: CopyOptimization<Self, DeviceOpenSessionResponse>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<DeviceOpenSessionResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<DeviceOpenSessionResponse>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
Source§impl<___E, T0, T1> Encode<DeviceOpenSessionResponse, ___E> for DeviceOpenSessionResponse<T0, T1>
impl<___E, T0, T1> Encode<DeviceOpenSessionResponse, ___E> for DeviceOpenSessionResponse<T0, T1>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<DeviceOpenSessionResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<DeviceOpenSessionResponse>, _: (), ) -> 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, T1> Encode<DeviceOpenSessionResponse, ___E> for &'a DeviceOpenSessionResponse<T0, T1>
impl<'a, ___E, T0, T1> Encode<DeviceOpenSessionResponse, ___E> for &'a DeviceOpenSessionResponse<T0, T1>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<DeviceOpenSessionResponse>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<DeviceOpenSessionResponse>, _: (), ) -> 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<DeviceOpenSessionResponse> for DeviceOpenSessionResponse
impl FromWire<DeviceOpenSessionResponse> for DeviceOpenSessionResponse
Source§const COPY_OPTIMIZATION: CopyOptimization<DeviceOpenSessionResponse, Self>
const COPY_OPTIMIZATION: CopyOptimization<DeviceOpenSessionResponse, Self>
Source§fn from_wire(wire: DeviceOpenSessionResponse) -> Self
fn from_wire(wire: DeviceOpenSessionResponse) -> Self
Converts the given owned value to this type.
Source§impl IntoNatural for DeviceOpenSessionResponse
impl IntoNatural for DeviceOpenSessionResponse
Source§type Natural = DeviceOpenSessionResponse
type Natural = DeviceOpenSessionResponse
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 DeviceOpenSessionResponse
impl Wire for DeviceOpenSessionResponse
Source§type Narrowed<'de> = DeviceOpenSessionResponse
type Narrowed<'de> = DeviceOpenSessionResponse
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 DeviceOpenSessionResponse
impl RefUnwindSafe for DeviceOpenSessionResponse
impl Send for DeviceOpenSessionResponse
impl Sync for DeviceOpenSessionResponse
impl Unpin for DeviceOpenSessionResponse
impl UnsafeUnpin for DeviceOpenSessionResponse
impl UnwindSafe for DeviceOpenSessionResponse
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> 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]