pub enum PrintTicketBuilderError {
OpenProviderFailed(Error),
StreamNotAllocated,
MergePrintTicketsFailed(String, Error),
DecodePrintTicketFailed(Error),
}Expand description
Represents an error occurred while building a print ticket.
Variants§
OpenProviderFailed(Error)
Failed to open print ticket provider.
StreamNotAllocated
Stream not allocated.
MergePrintTicketsFailed(String, Error)
Failed to merge print tickets.
DecodePrintTicketFailed(Error)
Failed to decode print ticket.
Trait Implementations§
Source§impl Debug for PrintTicketBuilderError
impl Debug for PrintTicketBuilderError
Source§impl Display for PrintTicketBuilderError
impl Display for PrintTicketBuilderError
Source§impl Error for PrintTicketBuilderError
impl Error for PrintTicketBuilderError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for PrintTicketBuilderError
impl RefUnwindSafe for PrintTicketBuilderError
impl Send for PrintTicketBuilderError
impl Sync for PrintTicketBuilderError
impl Unpin for PrintTicketBuilderError
impl UnsafeUnpin for PrintTicketBuilderError
impl UnwindSafe for PrintTicketBuilderError
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