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
IoError(Error)
Any IO error, either from directly reading files or from other libraries.
NotSwf
All-encompassing variant for anything that can't be a swf file.
Trait Implementations
impl Debug for Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more