pub struct ArcFileSystem {
fs: Arc<dyn FileSystem + Send + Sync + 'static>,
}Fields§
§fs: Arc<dyn FileSystem + Send + Sync + 'static>Implementations§
Source§impl ArcFileSystem
impl ArcFileSystem
Trait Implementations§
Source§impl Debug for ArcFileSystem
impl Debug for ArcFileSystem
Source§impl FileSystem for ArcFileSystem
impl FileSystem for ArcFileSystem
fn readlink(&self, path: &Path) -> Result<PathBuf>
fn read_dir(&self, path: &Path) -> Result<ReadDir>
fn create_dir(&self, path: &Path) -> Result<()>
fn create_symlink(&self, source: &Path, target: &Path) -> Result<()>
fn hard_link(&self, source: &Path, target: &Path) -> Result<()>
fn remove_dir(&self, path: &Path) -> Result<()>
fn rename<'a>( &'a self, from: &'a Path, to: &'a Path, ) -> BoxFuture<'a, Result<()>>
fn metadata(&self, path: &Path) -> Result<Metadata>
Source§fn symlink_metadata(&self, path: &Path) -> Result<Metadata>
fn symlink_metadata(&self, path: &Path) -> Result<Metadata>
This method gets metadata without following symlinks in the path.
Currently identical to
metadata because symlinks aren’t implemented
yet.fn remove_file(&self, path: &Path) -> Result<()>
fn new_open_options(&self) -> OpenOptions<'_>
Auto Trait Implementations§
impl Freeze for ArcFileSystem
impl !RefUnwindSafe for ArcFileSystem
impl Send for ArcFileSystem
impl Sync for ArcFileSystem
impl Unpin for ArcFileSystem
impl UnsafeUnpin for ArcFileSystem
impl !UnwindSafe for ArcFileSystem
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