pub struct RawOpenBuilder<S: Storage + 'static>(FormatDriverBuilderBase<S>);
Expand description
Options builder for opening a raw image.
Tuple Fields§
§0: FormatDriverBuilderBase<S>
Trait Implementations§
Source§impl<S: Storage + 'static> FormatDriverBuilder<S> for RawOpenBuilder<S>
impl<S: Storage + 'static> FormatDriverBuilder<S> for RawOpenBuilder<S>
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> Freeze for RawOpenBuilder<S>where
S: Freeze,
impl<S> RefUnwindSafe for RawOpenBuilder<S>where
S: RefUnwindSafe,
impl<S> Send for RawOpenBuilder<S>
impl<S> Sync for RawOpenBuilder<S>
impl<S> Unpin for RawOpenBuilder<S>where
S: Unpin,
impl<S> UnwindSafe for RawOpenBuilder<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