[][src]Enum gtk::PrintOperationResult

#[non_exhaustive]pub enum PrintOperationResult {
    Error,
    Apply,
    Cancel,
    InProgress,
    // some variants omitted
}

A value of this type is returned by PrintOperationExt::run.

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.
Error

An error has occurred.

Apply

The print settings should be stored.

Cancel

The print operation has been canceled, the print settings should not be stored.

InProgress

The print operation is not complete yet. This value will only be returned when running asynchronously.

Trait Implementations

impl Clone for PrintOperationResult[src]

impl Copy for PrintOperationResult[src]

impl Debug for PrintOperationResult[src]

impl Display for PrintOperationResult[src]

impl Eq for PrintOperationResult[src]

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

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

impl Hash for PrintOperationResult[src]

impl Ord for PrintOperationResult[src]

impl PartialEq<PrintOperationResult> for PrintOperationResult[src]

impl PartialOrd<PrintOperationResult> for PrintOperationResult[src]

impl SetValue for PrintOperationResult[src]

impl StaticType for PrintOperationResult[src]

impl StructuralEq for PrintOperationResult[src]

impl StructuralPartialEq for PrintOperationResult[src]

Auto Trait Implementations

impl RefUnwindSafe for PrintOperationResult

impl Send for PrintOperationResult

impl Sync for PrintOperationResult

impl Unpin for PrintOperationResult

impl UnwindSafe for PrintOperationResult

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.