pub enum DxgiPrintContextError {
PrintTicketError(ToDevModeError),
FailedToCreateEvent(Error),
InitializeDirectX(Error),
FailedToStartJob(Error),
StreamNotAllocated,
FailedToClosePrintControl(Error),
}Expand description
Represents an error occurred while printing via DXGI.
Variants§
PrintTicketError(ToDevModeError)
Print ticket error.
FailedToCreateEvent(Error)
Failed to create event.
InitializeDirectX(Error)
Failed to initialize DirectX.
FailedToStartJob(Error)
Failed to start job.
StreamNotAllocated
Stream not allocated.
FailedToClosePrintControl(Error)
Failed to close print control.
Trait Implementations§
Source§impl Debug for DxgiPrintContextError
impl Debug for DxgiPrintContextError
Source§impl Display for DxgiPrintContextError
impl Display for DxgiPrintContextError
Source§impl Error for DxgiPrintContextError
impl Error for DxgiPrintContextError
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()
Source§impl From<DxgiPrintContextError> for ImagePrinterError
impl From<DxgiPrintContextError> for ImagePrinterError
Source§fn from(source: DxgiPrintContextError) -> Self
fn from(source: DxgiPrintContextError) -> Self
Converts to this type from the input type.
Source§impl From<DxgiPrintContextError> for WinPdfPrinterError
impl From<DxgiPrintContextError> for WinPdfPrinterError
Source§fn from(source: DxgiPrintContextError) -> Self
fn from(source: DxgiPrintContextError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DxgiPrintContextError
impl RefUnwindSafe for DxgiPrintContextError
impl Send for DxgiPrintContextError
impl Sync for DxgiPrintContextError
impl Unpin for DxgiPrintContextError
impl UnsafeUnpin for DxgiPrintContextError
impl UnwindSafe for DxgiPrintContextError
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