[−][src]Struct vfs_zip::ZipWriteOnly
A write-only zip archive filesystem
Implementations
impl<IO: Write + Seek + Send> ZipWriteOnly<IO>
[src]
pub fn new_strong(io: IO) -> Result<Self>
[src]
Create a new write-only zip filesystem.
The underlying I/O will not be closed until the filesystem and all outstanding files are dropped.
pub fn new_weak(io: IO) -> Result<Self>
[src]
Create a new write-only zip filesystem.
The underlying I/O will be closed when the filesystem is dropped. Any outstanding files will start generating I/O errors and will not be committed to the .zip
Trait Implementations
impl<IO: Write + Seek + Send> Debug for ZipWriteOnly<IO>
[src]
impl<IO: Write + Seek + Send + 'static> FileSystem for ZipWriteOnly<IO>
[src]
fn create_dir(&self, path: &str) -> VfsResult<()>
[src]
fn create_file(&self, path: &str) -> VfsResult<Box<dyn Write>>
[src]
fn metadata(&self, path: &str) -> VfsResult<VfsMetadata>
[src]
fn exists(&self, path: &str) -> bool
[src]
fn read_dir(&self, _path: &str) -> VfsResult<Box<dyn Iterator<Item = String>>>
[src]
fn open_file(&self, _path: &str) -> VfsResult<Box<dyn SeekAndRead>>
[src]
fn append_file(&self, _path: &str) -> VfsResult<Box<dyn Write>>
[src]
fn remove_file(&self, _path: &str) -> VfsResult<()>
[src]
fn remove_dir(&self, _path: &str) -> VfsResult<()>
[src]
fn copy_file(&self, _src: &str, _dst: &str) -> VfsResult<()>
[src]
fn move_file(&self, _src: &str, _dst: &str) -> VfsResult<()>
[src]
fn move_dir(&self, _src: &str, _dst: &str) -> VfsResult<()>
[src]
Auto Trait Implementations
impl<IO> RefUnwindSafe for ZipWriteOnly<IO>
impl<IO> Send for ZipWriteOnly<IO>
impl<IO> Sync for ZipWriteOnly<IO>
impl<IO> Unpin for ZipWriteOnly<IO>
impl<IO> UnwindSafe for ZipWriteOnly<IO>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,