pub enum DriveInterface {
Ide,
Scsi,
Sd,
Mtd,
Floppy,
Pflash,
Virtio,
None,
}Variants§
Trait Implementations§
Source§impl Clone for DriveInterface
impl Clone for DriveInterface
Source§fn clone(&self) -> DriveInterface
fn clone(&self) -> DriveInterface
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 DriveInterface
impl Debug for DriveInterface
Source§impl Hash for DriveInterface
impl Hash for DriveInterface
Source§impl Ord for DriveInterface
impl Ord for DriveInterface
Source§fn cmp(&self, other: &DriveInterface) -> Ordering
fn cmp(&self, other: &DriveInterface) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DriveInterface
impl PartialEq for DriveInterface
Source§impl PartialOrd for DriveInterface
impl PartialOrd for DriveInterface
impl Eq for DriveInterface
impl StructuralPartialEq for DriveInterface
Auto Trait Implementations§
impl Freeze for DriveInterface
impl RefUnwindSafe for DriveInterface
impl Send for DriveInterface
impl Sync for DriveInterface
impl Unpin for DriveInterface
impl UnwindSafe for DriveInterface
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