Enum swf_headers::Error [] [src]

pub enum Error {
    IoError(Error),
    NotSwf,
}

The error type used by swf-headers.

Anything that could be considered a malformed or corrupt SWF falls into the broad category of NotSwf, along with everything else that can't be a SWF file. This may change in the future

Implementations of From for a couple of error types are done to make using try!() around the place more convenient.

Variants

Any IO error, either from directly reading files or from other libraries.

All-encompassing variant for anything that can't be a swf file.

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter. Read more

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

impl From<Error> for Error
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Error

impl Sync for Error