#[repr(C)]pub struct WireDeviceGetMaxTransferSizeResponse {
pub size: WireU64,
}
Expand description
The wire type corresponding to DeviceGetMaxTransferSizeResponse
.
Fields§
§size: WireU64
Trait Implementations§
Source§impl Clone for WireDeviceGetMaxTransferSizeResponse
impl Clone for WireDeviceGetMaxTransferSizeResponse
Source§fn clone(&self) -> WireDeviceGetMaxTransferSizeResponse
fn clone(&self) -> WireDeviceGetMaxTransferSizeResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<___D> Decode<___D> for WireDeviceGetMaxTransferSizeResponsewhere
___D: InternalHandleDecoder + ?Sized,
impl<___D> Decode<___D> for WireDeviceGetMaxTransferSizeResponsewhere
___D: InternalHandleDecoder + ?Sized,
Source§impl FromWire<WireDeviceGetMaxTransferSizeResponse> for DeviceGetMaxTransferSizeResponse
impl FromWire<WireDeviceGetMaxTransferSizeResponse> for DeviceGetMaxTransferSizeResponse
Source§const COPY_OPTIMIZATION: CopyOptimization<WireDeviceGetMaxTransferSizeResponse, Self>
const COPY_OPTIMIZATION: CopyOptimization<WireDeviceGetMaxTransferSizeResponse, Self>
Source§fn from_wire(wire: WireDeviceGetMaxTransferSizeResponse) -> Self
fn from_wire(wire: WireDeviceGetMaxTransferSizeResponse) -> Self
Converts the given
wire
to this type.Source§impl FromWireRef<WireDeviceGetMaxTransferSizeResponse> for DeviceGetMaxTransferSizeResponse
impl FromWireRef<WireDeviceGetMaxTransferSizeResponse> for DeviceGetMaxTransferSizeResponse
Source§fn from_wire_ref(wire: &WireDeviceGetMaxTransferSizeResponse) -> Self
fn from_wire_ref(wire: &WireDeviceGetMaxTransferSizeResponse) -> Self
Converts the given
wire
reference to this type.Source§impl Wire for WireDeviceGetMaxTransferSizeResponse
impl Wire for WireDeviceGetMaxTransferSizeResponse
Source§type Decoded<'de> = WireDeviceGetMaxTransferSizeResponse
type Decoded<'de> = WireDeviceGetMaxTransferSizeResponse
The decoded 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 WireDeviceGetMaxTransferSizeResponse
impl RefUnwindSafe for WireDeviceGetMaxTransferSizeResponse
impl Send for WireDeviceGetMaxTransferSizeResponse
impl Sync for WireDeviceGetMaxTransferSizeResponse
impl Unpin for WireDeviceGetMaxTransferSizeResponse
impl UnwindSafe for WireDeviceGetMaxTransferSizeResponse
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