pub struct JobFailure {
pub printer_reasons: PrinterReason,
pub message: String,
}Expand description
Failure of a print job, carrying IPP-visible printer reasons + a message.
Fields§
§printer_reasons: PrinterReasonReasons OR’d into the printer’s printer-state-reasons IPP attribute
when this job aborts.
message: StringHuman-readable message surfaced as job-state-message.
Implementations§
Trait Implementations§
Source§impl Clone for JobFailure
impl Clone for JobFailure
Source§fn clone(&self) -> JobFailure
fn clone(&self) -> JobFailure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JobFailure
impl Debug for JobFailure
Source§impl Display for JobFailure
impl Display for JobFailure
Source§impl Error for JobFailure
impl Error for JobFailure
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for JobFailure
impl RefUnwindSafe for JobFailure
impl Send for JobFailure
impl Sync for JobFailure
impl Unpin for JobFailure
impl UnsafeUnpin for JobFailure
impl UnwindSafe for JobFailure
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more