pub struct PrintFailure {
pub kind: PrintFailureKind,
pub detail: String,
}Expand description
Machine-readable cause of a failed print. Applications localize kind; detail is a
concise English fallback for logs and for kinds the app does not localize.
Fields§
§kind: PrintFailureKind§detail: StringImplementations§
Source§impl PrintFailure
impl PrintFailure
pub fn webview2_missing() -> Self
pub fn office_missing(kind: OfficeKind) -> Self
Trait Implementations§
Source§impl Clone for PrintFailure
impl Clone for PrintFailure
Source§fn clone(&self) -> PrintFailure
fn clone(&self) -> PrintFailure
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 PrintFailure
impl Debug for PrintFailure
impl Eq for PrintFailure
Source§impl PartialEq for PrintFailure
impl PartialEq for PrintFailure
impl StructuralPartialEq for PrintFailure
Auto Trait Implementations§
impl Freeze for PrintFailure
impl RefUnwindSafe for PrintFailure
impl Send for PrintFailure
impl Sync for PrintFailure
impl Unpin for PrintFailure
impl UnsafeUnpin for PrintFailure
impl UnwindSafe for PrintFailure
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