Enum usvg::Error[][src]

pub enum Error {
    InvalidFileSuffix,
    FileOpenFailed,
    NotAnUtf8Str,
    MalformedGZip,
    ParsingFailed(ParserError),
}

List of all errors.

Variants

Only svg and svgz suffixes are supported.

Failed to open the provided file.

Only UTF-8 content are supported.

Compressed SVG must use the GZip algorithm.

Failed to parse an SVG data.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations

impl Send for Error

impl Sync for Error