pub enum PrinterErrorReason {
Firmware,
Other(String),
}Expand description
What kind of error a printer pushed.
Variants§
Firmware
The printer’s own firmware reported it: a thermal runaway, a kill, a
halt. What ends a print failed.
Other(String)
Anything else the source reported, in its own word for it: a resend it could not satisfy, the host losing the line.
Trait Implementations§
Source§impl Clone for PrinterErrorReason
impl Clone for PrinterErrorReason
Source§impl Debug for PrinterErrorReason
impl Debug for PrinterErrorReason
impl Eq for PrinterErrorReason
Source§impl PartialEq for PrinterErrorReason
impl PartialEq for PrinterErrorReason
impl StructuralPartialEq for PrinterErrorReason
Auto Trait Implementations§
impl Forget for PrinterErrorReason
impl Freeze for PrinterErrorReason
impl RefUnwindSafe for PrinterErrorReason
impl Send for PrinterErrorReason
impl Sync for PrinterErrorReason
impl Unpin for PrinterErrorReason
impl UnsafeUnpin for PrinterErrorReason
impl UnwindSafe for PrinterErrorReason
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