Enum wkhtmltopdf::Error []

pub enum Error {
    IoError(Error),
    IllegalInit,
    NotInitialized,
    Blocked,
    ThreadMismatch(usizeusize),
    ConversionFailed(String),
    GlobalSettingFailure(StringString),
    ObjectSettingFailure(StringString),
}

The error type for wkhtmltopdf generation

Variants

Indicates an I/O error that occurred during PDF generation

Indicates the wkhtmltopdf could be be initialized because it can only be initialized once per process (wkhtmltopdf limitation)

Indicates that wkhtmltopdf has not yet been initialized in this process

Indicates that wkhtmltopdf is blocked by another request within this process (wkhtmltopdf limitation)

Indicates that wkhtmltopdf was initialized on a different thread than this PDF generation atttempt (wkhtmltopdf limitation)

Indicates that wkhtmltopdf conversion failed - internal error message comes directly from wkhtmltopdf

Indicates that wkhtmltopdf failed to set a particular global setting

Indicates that wkhtmltopdf failed to set a particular object setting

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Display for Error

Formats the value using the given formatter. Read more

impl Error for Error

A short description of the error. Read more

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

impl From<Error> for Error

Performs the conversion.