pub enum PetriDiskType {
Memory,
Differencing(PathBuf),
Persistent(PathBuf),
}Expand description
Petri disk type
Variants§
Memory
Memory backed
Differencing(PathBuf)
Memory differencing disk backed by a file
Persistent(PathBuf)
Persistent disk
Trait Implementations§
Source§impl Clone for PetriDiskType
impl Clone for PetriDiskType
Source§fn clone(&self) -> PetriDiskType
fn clone(&self) -> PetriDiskType
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 moreAuto Trait Implementations§
impl Freeze for PetriDiskType
impl RefUnwindSafe for PetriDiskType
impl Send for PetriDiskType
impl Sync for PetriDiskType
impl Unpin for PetriDiskType
impl UnwindSafe for PetriDiskType
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