[][src]Enum pstoedit::Error

pub enum Error {
    NotInitialized,
    IncompatibleVersion,
    PstoeditError(c_int),
    NulError(NulError),
    Utf8Error(Utf8Error),
}

Enumerations of possible errors during interaction with pstoedit.

Variants

NotInitialized

The connection to pstoedit was not initialized, i.e. init was not called first.

IncompatibleVersion

Version of pstoedit is incompatible with this crate.

PstoeditError(c_int)

Internal pstoedit (or ghostscript) error.

NulError(NulError)

A UTF-8 string to be passed to pstoedit contained a nul byte.

Utf8Error(Utf8Error)

A string from pstoedit was invalid UTF-8.

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error[src]

impl From<NulError> for Error[src]

impl From<Utf8Error> for Error[src]

Auto Trait Implementations

impl RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl UnwindSafe for Error

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.