pub struct VmdkOpenBuilder<S: Storage + 'static, F: WrappedFormat<S> + 'static = FormatAccess<S>>(FormatDriverBuilderBase<S>, PhantomData<F>);Expand description
Options builder for opening a VMDK image.
Tuple Fields§
§0: FormatDriverBuilderBase<S>§1: PhantomData<F>Trait Implementations§
Source§impl<S: Storage + 'static, F: WrappedFormat<S> + 'static> FormatDriverBuilder<S> for VmdkOpenBuilder<S, F>
impl<S: Storage + 'static, F: WrappedFormat<S> + 'static> FormatDriverBuilder<S> for VmdkOpenBuilder<S, F>
Source§fn storage_open_options(self, options: StorageOpenOptions) -> Self
fn storage_open_options(self, options: StorageOpenOptions) -> Self
Set base storage options for opened storage objects. Read more
Source§async fn open<G: ImplicitOpenGate<S>>(self, gate: G) -> Result<Self::Format>
async fn open<G: ImplicitOpenGate<S>>(self, gate: G) -> Result<Self::Format>
Open the image. Read more
Source§fn get_image_path(&self) -> Option<PathBuf>
fn get_image_path(&self) -> Option<PathBuf>
If possible, get the image’s path.
Source§fn get_writable(&self) -> bool
fn get_writable(&self) -> bool
Return the set writable state.
Source§fn get_storage_open_options(&self) -> Option<&StorageOpenOptions>
fn get_storage_open_options(&self) -> Option<&StorageOpenOptions>
Return the set storage options (if any).
Source§fn open_sync<G: ImplicitOpenGate<S>>(self, gate: G) -> Result<Self::Format>
fn open_sync<G: ImplicitOpenGate<S>>(self, gate: G) -> Result<Self::Format>
Synchronous wrapper around
FormatDriverBuilder::open(). Read moreAuto Trait Implementations§
impl<S, F> Freeze for VmdkOpenBuilder<S, F>where
S: Freeze,
impl<S, F> RefUnwindSafe for VmdkOpenBuilder<S, F>where
F: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, F> Send for VmdkOpenBuilder<S, F>
impl<S, F> Sync for VmdkOpenBuilder<S, F>
impl<S, F> Unpin for VmdkOpenBuilder<S, F>
impl<S, F> UnwindSafe for VmdkOpenBuilder<S, F>where
F: UnwindSafe,
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