enum VmdkStorage<S: Storage + 'static> {
Flat {
file: S,
offset: u64,
},
Zero,
}Expand description
Represents the data storage for a VMDK extent
Variants§
Flat
A FLAT extent with a RAW file starting from the exact offset
Fields
§
file: SStorage object containing linear (raw) data
Zero
A zero-filled extent
Trait Implementations§
Source§impl<S: Clone + Storage + 'static> Clone for VmdkStorage<S>
impl<S: Clone + Storage + 'static> Clone for VmdkStorage<S>
Source§fn clone(&self) -> VmdkStorage<S>
fn clone(&self) -> VmdkStorage<S>
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<S> Freeze for VmdkStorage<S>where
S: Freeze,
impl<S> RefUnwindSafe for VmdkStorage<S>where
S: RefUnwindSafe,
impl<S> Send for VmdkStorage<S>
impl<S> Sync for VmdkStorage<S>
impl<S> Unpin for VmdkStorage<S>where
S: Unpin,
impl<S> UnwindSafe for VmdkStorage<S>where
S: UnwindSafe,
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