pub struct DeviceStatus(/* private fields */);Expand description
VirtIO device status flags.
Implementations§
Source§impl DeviceStatus
impl DeviceStatus
Sourcepub const ACKNOWLEDGE: u8 = 1
pub const ACKNOWLEDGE: u8 = 1
Device acknowledged.
Sourcepub const FEATURES_OK: u8 = 8
pub const FEATURES_OK: u8 = 8
Feature negotiation complete.
Sourcepub const DEVICE_NEEDS_RESET: u8 = 64
pub const DEVICE_NEEDS_RESET: u8 = 64
Device needs reset.
Trait Implementations§
Source§impl Clone for DeviceStatus
impl Clone for DeviceStatus
Source§fn clone(&self) -> DeviceStatus
fn clone(&self) -> DeviceStatus
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 Debug for DeviceStatus
impl Debug for DeviceStatus
impl Copy for DeviceStatus
Auto Trait Implementations§
impl Freeze for DeviceStatus
impl RefUnwindSafe for DeviceStatus
impl Send for DeviceStatus
impl Sync for DeviceStatus
impl Unpin for DeviceStatus
impl UnsafeUnpin for DeviceStatus
impl UnwindSafe for DeviceStatus
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