pub enum Disk {
Memory(u64),
Differencing(PathBuf),
Persistent(PathBuf),
Temporary(Arc<TempPath>),
}Expand description
Petri disk
Variants§
Memory(u64)
Memory backed with specified size
Differencing(PathBuf)
Memory differencing disk backed by a VHD
Persistent(PathBuf)
Persistent VHD
Temporary(Arc<TempPath>)
Disk backed by a temporary VHD
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Disk
impl RefUnwindSafe for Disk
impl Send for Disk
impl Sync for Disk
impl Unpin for Disk
impl UnwindSafe for Disk
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