Struct storage_benchmarks::filesystem::MountedFilesystem
source · pub struct MountedFilesystem { /* private fields */ }
Expand description
A FilesystemConfig
for a filesystem that is already present in the process’s namespace.
Implementations§
Trait Implementations§
source§impl Clone for MountedFilesystem
impl Clone for MountedFilesystem
source§fn clone(&self) -> MountedFilesystem
fn clone(&self) -> MountedFilesystem
Returns a copy 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 moresource§impl FilesystemConfig for MountedFilesystem
impl FilesystemConfig for MountedFilesystem
§type Filesystem = MountedFilesystemInstance
type Filesystem = MountedFilesystemInstance
The concrete type of the filesystem started by
start_filesystem
. It must at least
implement the Filesystem
trait.source§fn start_filesystem<'life0, 'life1, 'async_trait>(
&'life0 self,
_block_device_factory: &'life1 dyn BlockDeviceFactory
) -> Pin<Box<dyn Future<Output = MountedFilesystemInstance> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn start_filesystem<'life0, 'life1, 'async_trait>(
&'life0 self,
_block_device_factory: &'life1 dyn BlockDeviceFactory
) -> Pin<Box<dyn Future<Output = MountedFilesystemInstance> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Starts an instance of the filesystem.
Auto Trait Implementations§
impl Freeze for MountedFilesystem
impl RefUnwindSafe for MountedFilesystem
impl Send for MountedFilesystem
impl Sync for MountedFilesystem
impl Unpin for MountedFilesystem
impl UnwindSafe for MountedFilesystem
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