[][src]Enum gtk::PrintStatus

#[non_exhaustive]pub enum PrintStatus {
    Initial,
    Preparing,
    GeneratingData,
    SendingData,
    Pending,
    PendingIssue,
    Printing,
    Finished,
    FinishedAborted,
    // some variants omitted
}

The status gives a rough indication of the completion of a running print operation.

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

The printing has not started yet; this status is set initially, and while the print dialog is shown.

Preparing

This status is set while the begin-print signal is emitted and during pagination.

GeneratingData

This status is set while the pages are being rendered.

SendingData

The print job is being sent off to the printer.

Pending

The print job has been sent to the printer, but is not printed for some reason, e.g. the printer may be stopped.

PendingIssue

Some problem has occurred during printing, e.g. a paper jam.

Printing

The printer is processing the print job.

Finished

The printing has been completed successfully.

FinishedAborted

The printing has been aborted.

Trait Implementations

impl Clone for PrintStatus[src]

impl Copy for PrintStatus[src]

impl Debug for PrintStatus[src]

impl Display for PrintStatus[src]

impl Eq for PrintStatus[src]

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

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

impl Hash for PrintStatus[src]

impl Ord for PrintStatus[src]

impl PartialEq<PrintStatus> for PrintStatus[src]

impl PartialOrd<PrintStatus> for PrintStatus[src]

impl SetValue for PrintStatus[src]

impl StaticType for PrintStatus[src]

impl StructuralEq for PrintStatus[src]

impl StructuralPartialEq for PrintStatus[src]

Auto Trait Implementations

impl RefUnwindSafe for PrintStatus

impl Send for PrintStatus

impl Sync for PrintStatus

impl Unpin for PrintStatus

impl UnwindSafe for PrintStatus

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.