Enum usvg::Error [−][src]
pub enum Error { InvalidFileSuffix, FileOpenFailed, NotAnUtf8Str, MalformedGZip, ParsingFailed(ParserError), }
List of all errors.
Variants
InvalidFileSuffix
Only svg
and svgz
suffixes are supported.
FileOpenFailed
Failed to open the provided file.
NotAnUtf8Str
Only UTF-8 content are supported.
MalformedGZip
Compressed SVG must use the GZip algorithm.
ParsingFailed(ParserError)
Failed to parse an SVG data.
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
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 Display for Error
[src]
impl Display for Error
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 Error for Error
[src]
impl Error for Error