Enum zip::result::ZipError [] [src]

pub enum ZipError {
    Io(Error),
    InvalidArchive(&'static str),
    UnsupportedArchive(&'static str),
    FileNotFound,
}

Error type for Zip

Variants

Io(Error)

An Error caused by I/O

InvalidArchive(&'static str)

This file is probably not a zip archive

UnsupportedArchive(&'static str)

This archive is not supported

FileNotFound

The requested file could not be found in the archive

Trait Implementations

impl Debug for ZipError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<Error> for ZipError
[src]

fn from(err: Error) -> ZipError

Performs the conversion.

impl Display for ZipError
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Error for ZipError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

The lower-level cause of this error, if any. Read more