pub enum DiskSelection {
Index(usize),
Path(PathBuf),
}Expand description
A DiskSelection enumeration is used to select a disk image by either index or path when dealing with containers that contain multiple disk images.
Variants§
Trait Implementations§
Source§impl Clone for DiskSelection
impl Clone for DiskSelection
Source§fn clone(&self) -> DiskSelection
fn clone(&self) -> DiskSelection
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 DiskSelection
impl Debug for DiskSelection
Auto Trait Implementations§
impl Freeze for DiskSelection
impl RefUnwindSafe for DiskSelection
impl Send for DiskSelection
impl Sync for DiskSelection
impl Unpin for DiskSelection
impl UnwindSafe for DiskSelection
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