Type Alias virtio_magma_initialize_tracing_resp_t

Source
pub type virtio_magma_initialize_tracing_resp_t = virtio_magma_initialize_tracing_resp;

Aliased Type§

struct virtio_magma_initialize_tracing_resp_t {
    pub hdr: virtio_magma_ctrl_hdr,
    pub result_return: u64,
}

Fields§

§hdr: virtio_magma_ctrl_hdr§result_return: u64

Trait Implementations

Source§

impl Clone for virtio_magma_initialize_tracing_resp

Source§

fn clone(&self) -> virtio_magma_initialize_tracing_resp

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for virtio_magma_initialize_tracing_resp

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for virtio_magma_initialize_tracing_resp

Source§

fn default() -> virtio_magma_initialize_tracing_resp

Returns the “default value” for a type. Read more
Source§

impl FromBytes for virtio_magma_initialize_tracing_resp
where virtio_magma_ctrl_hdr_t: FromBytes, u64: FromBytes,

§

fn read_from_bytes(source: &[u8]) -> Result<Self, SizeError<&[u8], Self>>
where Self: Sized,

Reads a copy of Self from the given source. Read more
§

fn read_from_prefix( source: &[u8], ) -> Result<(Self, &[u8]), SizeError<&[u8], Self>>
where Self: Sized,

Reads a copy of Self from the prefix of the given source. Read more
§

fn read_from_suffix( source: &[u8], ) -> Result<(&[u8], Self), SizeError<&[u8], Self>>
where Self: Sized,

Reads a copy of Self from the suffix of the given source. Read more
Source§

impl FromZeros for virtio_magma_initialize_tracing_resp
where virtio_magma_ctrl_hdr_t: FromZeros, u64: FromZeros,

§

fn zero(&mut self)

Overwrites self with zeros. Read more
§

fn new_zeroed() -> Self
where Self: Sized,

Creates an instance of Self from zeroed bytes. Read more
Source§

impl IntoBytes for virtio_magma_initialize_tracing_resp
where virtio_magma_ctrl_hdr_t: IntoBytes, u64: IntoBytes,

§

fn as_bytes(&self) -> &[u8]
where Self: Immutable,

Gets the bytes of this value. Read more
§

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,

Writes a copy of self to dst. Read more
§

fn write_to_prefix( &self, dst: &mut [u8], ) -> Result<(), SizeError<&Self, &mut [u8]>>
where Self: Immutable,

Writes a copy of self to the prefix of dst. Read more
§

fn write_to_suffix( &self, dst: &mut [u8], ) -> Result<(), SizeError<&Self, &mut [u8]>>
where Self: Immutable,

Writes a copy of self to the suffix of dst. Read more
Source§

impl TryFromBytes for virtio_magma_initialize_tracing_resp
where 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,

Attempts to read the given source as a Self. Read more
§

fn try_read_from_prefix( source: &[u8], ) -> Result<(Self, &[u8]), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: Sized,

Attempts to read a Self from the prefix of the given source. Read more
§

fn try_read_from_suffix( source: &[u8], ) -> Result<(&[u8], Self), ConvertError<Infallible, SizeError<&[u8], Self>, ValidityError<&[u8], Self>>>
where Self: Sized,

Attempts to read a Self from the suffix of the given source. Read more
Source§

impl Copy for virtio_magma_initialize_tracing_resp

Source§

impl Immutable for virtio_magma_initialize_tracing_resp
where virtio_magma_ctrl_hdr_t: Immutable, u64: Immutable,