pub struct HttpsFS { /* private fields */ }
Expand description
A file system exposed over https
Implementations§
Trait Implementations§
Source§impl FileSystem for HttpsFS
impl FileSystem for HttpsFS
Source§fn read_dir(&self, path: &str) -> VfsResult<Box<dyn Iterator<Item = String>>>
fn read_dir(&self, path: &str) -> VfsResult<Box<dyn Iterator<Item = String>>>
Iterates over all entries of this directory path
Source§fn create_dir(&self, path: &str) -> VfsResult<()>
fn create_dir(&self, path: &str) -> VfsResult<()>
Creates the directory at this path Read more
Source§fn open_file(&self, path: &str) -> VfsResult<Box<dyn SeekAndRead>>
fn open_file(&self, path: &str) -> VfsResult<Box<dyn SeekAndRead>>
Opens the file at this path for reading
Source§fn create_file(&self, path: &str) -> VfsResult<Box<dyn Write>>
fn create_file(&self, path: &str) -> VfsResult<Box<dyn Write>>
Creates a file at this path for writing
Source§fn append_file(&self, path: &str) -> VfsResult<Box<dyn Write>>
fn append_file(&self, path: &str) -> VfsResult<Box<dyn Write>>
Opens the file at this path for appending
Source§fn metadata(&self, path: &str) -> VfsResult<VfsMetadata>
fn metadata(&self, path: &str) -> VfsResult<VfsMetadata>
Returns the file metadata for the file at this path
Source§fn exists(&self, path: &str) -> VfsResult<bool>
fn exists(&self, path: &str) -> VfsResult<bool>
Returns true if a file or directory at path exists, false otherwise
Source§fn copy_file(&self, _src: &str, _dest: &str) -> Result<(), VfsError>
fn copy_file(&self, _src: &str, _dest: &str) -> Result<(), VfsError>
Copies the src path to the destination path within the same filesystem (optional)
Auto Trait Implementations§
impl Freeze for HttpsFS
impl !RefUnwindSafe for HttpsFS
impl Send for HttpsFS
impl Sync for HttpsFS
impl Unpin for HttpsFS
impl !UnwindSafe for HttpsFS
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