pub enum FetchPrintCapabilitiesError {
OpenProviderFailed(Error),
StreamNotAllocated,
CannotGetPrintCapabilities(String, Error),
ReadStreamFailed(Error),
ParseError(ParsePrintSchemaError),
}
Expand description
Represents an error occurred while fetching print capabilities.
Variants§
OpenProviderFailed(Error)
Failed to open print ticket provider.
StreamNotAllocated
Stream not allocated.
CannotGetPrintCapabilities(String, Error)
Cannot get print capabilities.
ReadStreamFailed(Error)
Failed to read stream.
ParseError(ParsePrintSchemaError)
Failed to parse print capabilities.
Trait Implementations§
Source§impl Debug for FetchPrintCapabilitiesError
impl Debug for FetchPrintCapabilitiesError
Source§impl Error for FetchPrintCapabilitiesError
impl Error for FetchPrintCapabilitiesError
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<FetchPrintCapabilitiesError> for PageImageableSizeError
impl From<FetchPrintCapabilitiesError> for PageImageableSizeError
Source§fn from(source: FetchPrintCapabilitiesError) -> Self
fn from(source: FetchPrintCapabilitiesError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FetchPrintCapabilitiesError
impl !RefUnwindSafe for FetchPrintCapabilitiesError
impl Send for FetchPrintCapabilitiesError
impl Sync for FetchPrintCapabilitiesError
impl Unpin for FetchPrintCapabilitiesError
impl !UnwindSafe for FetchPrintCapabilitiesError
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