Struct virtio_drivers::device::blk::RespStatus
source · #[repr(transparent)]pub struct RespStatus(_);Expand description
Status of a VirtIOBlk request.
Implementations§
source§impl RespStatus
impl RespStatus
sourcepub const OK: RespStatus = _
pub const OK: RespStatus = _
Ok.
sourcepub const IO_ERR: RespStatus = _
pub const IO_ERR: RespStatus = _
IoErr.
sourcepub const UNSUPPORTED: RespStatus = _
pub const UNSUPPORTED: RespStatus = _
Unsupported yet.
sourcepub const NOT_READY: RespStatus = _
pub const NOT_READY: RespStatus = _
Not ready.
Trait Implementations§
source§impl AsBytes for RespStatus
impl AsBytes for RespStatus
source§fn as_bytes_mut(&mut self) -> &mut [u8]where
Self: FromBytes,
fn as_bytes_mut(&mut self) -> &mut [u8]where
Self: FromBytes,
Gets the bytes of this value mutably. Read more
source§fn write_to_prefix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
fn write_to_prefix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
source§fn write_to_suffix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
fn write_to_suffix<B>(&self, bytes: B) -> Option<()>where
B: ByteSliceMut,
source§impl Clone for RespStatus
impl Clone for RespStatus
source§fn clone(&self) -> RespStatus
fn clone(&self) -> RespStatus
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 Debug for RespStatus
impl Debug for RespStatus
source§impl FromBytes for RespStatus
impl FromBytes for RespStatus
source§fn new_zeroed() -> Selfwhere
Self: Sized,
fn new_zeroed() -> Selfwhere
Self: Sized,
Creates an instance of
Self from zeroed bytes.source§impl PartialEq<RespStatus> for RespStatus
impl PartialEq<RespStatus> for RespStatus
source§fn eq(&self, other: &RespStatus) -> bool
fn eq(&self, other: &RespStatus) -> bool
This method tests for
self and other values to be equal, and is used
by ==.