#[repr(C, packed(1))]pub struct virtio_magma_connection_flush_resp {
pub hdr: virtio_magma_ctrl_hdr_t,
pub result_return: u64,
}
Fields§
§hdr: virtio_magma_ctrl_hdr_t
§result_return: u64
Trait Implementations§
Source§impl Clone for virtio_magma_connection_flush_resp
impl Clone for virtio_magma_connection_flush_resp
Source§fn clone(&self) -> virtio_magma_connection_flush_resp
fn clone(&self) -> virtio_magma_connection_flush_resp
Returns a copy 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 Default for virtio_magma_connection_flush_resp
impl Default for virtio_magma_connection_flush_resp
Source§fn default() -> virtio_magma_connection_flush_resp
fn default() -> virtio_magma_connection_flush_resp
Returns the “default value” for a type. Read more
Source§impl FromBytes for virtio_magma_connection_flush_respwhere
virtio_magma_ctrl_hdr_t: FromBytes,
u64: FromBytes,
impl FromBytes for virtio_magma_connection_flush_respwhere
virtio_magma_ctrl_hdr_t: FromBytes,
u64: FromBytes,
Source§impl FromZeros for virtio_magma_connection_flush_respwhere
virtio_magma_ctrl_hdr_t: FromZeros,
u64: FromZeros,
impl FromZeros for virtio_magma_connection_flush_respwhere
virtio_magma_ctrl_hdr_t: FromZeros,
u64: FromZeros,
Source§impl IntoBytes for virtio_magma_connection_flush_respwhere
virtio_magma_ctrl_hdr_t: IntoBytes,
u64: IntoBytes,
impl IntoBytes for virtio_magma_connection_flush_respwhere
virtio_magma_ctrl_hdr_t: IntoBytes,
u64: IntoBytes,
§fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
fn as_mut_bytes(&mut self) -> &mut [u8] ⓘwhere
Self: FromBytes,
Gets the bytes of this value mutably. Read more
§fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
fn write_to(&self, dst: &mut [u8]) -> Result<(), SizeError<&Self, &mut [u8]>>where
Self: Immutable,
Source§impl TryFromBytes for virtio_magma_connection_flush_respwhere
virtio_magma_ctrl_hdr_t: TryFromBytes,
u64: TryFromBytes,
impl TryFromBytes for virtio_magma_connection_flush_respwhere
virtio_magma_ctrl_hdr_t: TryFromBytes,
u64: TryFromBytes,
§fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_bytes(
source: &[u8],
) -> Result<Self, ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_prefix(
source: &[u8],
) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
§fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
fn try_read_from_suffix(
source: &[u8],
) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>where
Self: Sized,
impl Copy for virtio_magma_connection_flush_resp
impl Immutable for virtio_magma_connection_flush_respwhere
virtio_magma_ctrl_hdr_t: Immutable,
u64: Immutable,
Auto Trait Implementations§
impl Freeze for virtio_magma_connection_flush_resp
impl RefUnwindSafe for virtio_magma_connection_flush_resp
impl Send for virtio_magma_connection_flush_resp
impl Sync for virtio_magma_connection_flush_resp
impl Unpin for virtio_magma_connection_flush_resp
impl UnwindSafe for virtio_magma_connection_flush_resp
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