pub enum PrinterState {
READY,
PAUSED,
PRINTING,
UNKNOWN,
}Expand description
Enum of the Printer state
Variants§
READY
The printer is able to receive jobs (also idle)
PAUSED
The printer is not accepting jobs (also stopped)
PRINTING
The printer is now printing an document (also processing)
UNKNOWN
All other status like error, resources, manual intervention, etc…
Trait Implementations§
Source§impl Clone for PrinterState
impl Clone for PrinterState
Source§fn clone(&self) -> PrinterState
fn clone(&self) -> PrinterState
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 moreAuto Trait Implementations§
impl Freeze for PrinterState
impl RefUnwindSafe for PrinterState
impl Send for PrinterState
impl Sync for PrinterState
impl Unpin for PrinterState
impl UnsafeUnpin for PrinterState
impl UnwindSafe for PrinterState
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