pub enum PrinterError {
Io(Error),
Font(FontError),
}Variants§
Trait Implementations§
Source§impl Debug for PrinterError
impl Debug for PrinterError
Source§impl From<Error> for PrinterError
impl From<Error> for PrinterError
Source§fn from(err: Error) -> PrinterError
fn from(err: Error) -> PrinterError
Converts to this type from the input type.
Source§impl From<FontError> for PrinterError
impl From<FontError> for PrinterError
Source§fn from(err: FontError) -> PrinterError
fn from(err: FontError) -> PrinterError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PrinterError
impl !RefUnwindSafe for PrinterError
impl Send for PrinterError
impl Sync for PrinterError
impl Unpin for PrinterError
impl !UnwindSafe for PrinterError
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