Enum oxipng::PngError [−][src]
pub enum PngError { DeflatedDataTooLong(usize), NotPNG, APNGNotSupported, InvalidData, TruncatedData, ChunkMissing(&'static str), Other(Box<str>), // some variants omitted }
Variants
DeflatedDataTooLong(usize)
NotPNG
APNGNotSupported
InvalidData
TruncatedData
ChunkMissing(&'static str)
Other(Box<str>)
Methods
impl PngError
[src]
impl PngError
Trait Implementations
impl Debug for PngError
[src]
impl Debug for PngError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PngError
[src]
impl Clone for PngError
fn clone(&self) -> PngError
[src]
fn clone(&self) -> PngError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Error for PngError
[src]
impl Error for PngError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for PngError
[src]
impl Display for PngError