pub enum DeviceModel {
None,
HostAware,
HostManaged,
}Expand description
Model (type) of a zoned block device.
Variants§
None
Not a zoned device.
HostAware
Host-aware: device provides zone hints but allows random writes.
HostManaged
Host-managed: strict zone write rules enforced by device.
Trait Implementations§
Source§impl Clone for DeviceModel
impl Clone for DeviceModel
Source§fn clone(&self) -> DeviceModel
fn clone(&self) -> DeviceModel
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 DeviceModel
impl Debug for DeviceModel
Source§impl Display for DeviceModel
impl Display for DeviceModel
Source§impl Hash for DeviceModel
impl Hash for DeviceModel
Source§impl PartialEq for DeviceModel
impl PartialEq for DeviceModel
impl Copy for DeviceModel
impl Eq for DeviceModel
impl StructuralPartialEq for DeviceModel
Auto Trait Implementations§
impl Freeze for DeviceModel
impl RefUnwindSafe for DeviceModel
impl Send for DeviceModel
impl Sync for DeviceModel
impl Unpin for DeviceModel
impl UnsafeUnpin for DeviceModel
impl UnwindSafe for DeviceModel
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