[][src]Struct vfs_zip::ZipReadOnly

pub struct ZipReadOnly<IO: Read + Seek + Send + 'static> { /* fields omitted */ }

A read-only zip archive filesystem

Implementations

impl<IO: Read + Seek + Send> ZipReadOnly<IO>[src]

pub fn new_strict(io: IO) -> Result<Self>[src]

Create a new read-only zip filesystem. Any archive errors (including unsupported paths) will result in errors.

pub fn new_relaxed(io: IO) -> Result<Self>[src]

Create a new read-only zip filesystem. Some archive errors (such as unsupported paths) will be ignored.

Trait Implementations

impl<IO: Read + Seek + Send> Debug for ZipReadOnly<IO>[src]

impl<IO: Read + Seek + Send + 'static> FileSystem for ZipReadOnly<IO>[src]

Auto Trait Implementations

impl<IO> RefUnwindSafe for ZipReadOnly<IO>

impl<IO> Send for ZipReadOnly<IO>

impl<IO> Sync for ZipReadOnly<IO>

impl<IO> Unpin for ZipReadOnly<IO> where
    IO: Unpin

impl<IO> UnwindSafe for ZipReadOnly<IO>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.