Struct virtual_fs::WebcVolumeFileSystem
source · pub struct WebcVolumeFileSystem { /* private fields */ }
Implementations§
source§impl WebcVolumeFileSystem
impl WebcVolumeFileSystem
pub fn new(volume: Volume) -> Self
pub fn volume(&self) -> &Volume
sourcepub fn mount_all(
container: &Container
) -> OverlayFileSystem<EmptyFileSystem, Vec<WebcVolumeFileSystem>>
pub fn mount_all( container: &Container ) -> OverlayFileSystem<EmptyFileSystem, Vec<WebcVolumeFileSystem>>
Trait Implementations§
source§impl Clone for WebcVolumeFileSystem
impl Clone for WebcVolumeFileSystem
source§fn clone(&self) -> WebcVolumeFileSystem
fn clone(&self) -> WebcVolumeFileSystem
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 Debug for WebcVolumeFileSystem
impl Debug for WebcVolumeFileSystem
source§impl FileOpener for WebcVolumeFileSystem
impl FileOpener for WebcVolumeFileSystem
fn open( &self, path: &Path, conf: &OpenOptionsConfig ) -> Result<Box<dyn VirtualFile + Send + Sync + 'static>>
source§impl FileSystem for WebcVolumeFileSystem
impl FileSystem for WebcVolumeFileSystem
fn read_dir(&self, path: &Path) -> Result<ReadDir, FsError>
fn create_dir(&self, path: &Path) -> Result<(), FsError>
fn remove_dir(&self, path: &Path) -> Result<(), FsError>
fn rename<'a>( &'a self, from: &'a Path, to: &'a Path ) -> BoxFuture<'a, Result<(), FsError>>
fn metadata(&self, path: &Path) -> Result<Metadata, FsError>
fn remove_file(&self, path: &Path) -> Result<(), FsError>
fn new_open_options(&self) -> OpenOptions<'_>
Auto Trait Implementations§
impl !RefUnwindSafe for WebcVolumeFileSystem
impl Send for WebcVolumeFileSystem
impl Sync for WebcVolumeFileSystem
impl Unpin for WebcVolumeFileSystem
impl !UnwindSafe for WebcVolumeFileSystem
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