pub enum PrinterUpdate {
Added,
Removed,
StateChanged,
}Expand description
The change reported by a printer callback.
Variants§
Added
A new printer was discovered.
Removed
A previously known printer was removed.
StateChanged
An existing printer’s state field changed.
Trait Implementations§
Source§impl Clone for PrinterUpdate
impl Clone for PrinterUpdate
Source§fn clone(&self) -> PrinterUpdate
fn clone(&self) -> PrinterUpdate
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 moreimpl Copy for PrinterUpdate
Source§impl Debug for PrinterUpdate
impl Debug for PrinterUpdate
impl Eq for PrinterUpdate
Source§impl PartialEq for PrinterUpdate
impl PartialEq for PrinterUpdate
Source§fn eq(&self, other: &PrinterUpdate) -> bool
fn eq(&self, other: &PrinterUpdate) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrinterUpdate
Auto Trait Implementations§
impl Freeze for PrinterUpdate
impl RefUnwindSafe for PrinterUpdate
impl Send for PrinterUpdate
impl Sync for PrinterUpdate
impl Unpin for PrinterUpdate
impl UnsafeUnpin for PrinterUpdate
impl UnwindSafe for PrinterUpdate
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