[][src]Enum gtk::PrintError

#[non_exhaustive]pub enum PrintError {
    General,
    InternalError,
    Nomem,
    InvalidFile,
    // some variants omitted
}

Error codes that identify various errors that can occur while using the GTK+ printing support.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
General

An unspecified error occurred.

InternalError

An internal error occurred.

Nomem

A memory allocation failed.

InvalidFile

An error occurred while loading a page setup or paper size from a key file.

Trait Implementations

impl Clone for PrintError[src]

impl Copy for PrintError[src]

impl Debug for PrintError[src]

impl Display for PrintError[src]

impl Eq for PrintError[src]

impl ErrorDomain for PrintError[src]

impl<'a> FromValue<'a> for PrintError[src]

impl<'a> FromValueOptional<'a> for PrintError[src]

impl Hash for PrintError[src]

impl Ord for PrintError[src]

impl PartialEq<PrintError> for PrintError[src]

impl PartialOrd<PrintError> for PrintError[src]

impl SetValue for PrintError[src]

impl StaticType for PrintError[src]

impl StructuralEq for PrintError[src]

impl StructuralPartialEq for PrintError[src]

Auto Trait Implementations

impl RefUnwindSafe for PrintError

impl Send for PrintError

impl Sync for PrintError

impl Unpin for PrintError

impl UnwindSafe for PrintError

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized

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

impl<T> ToValue for T where
    T: SetValue + ?Sized

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.