pub enum PageImageableSizeError {
FetchCapabilitiesError(FetchPrintCapabilitiesError),
ParseCapabilitiesError(ParsePrintSchemaError),
FieldError {
field: &'static str,
},
}Expand description
Represents an error occurred while fetching imageable size.
Variants§
FetchCapabilitiesError(FetchPrintCapabilitiesError)
Failed to fetch print capabilities.
ParseCapabilitiesError(ParsePrintSchemaError)
Failed to parse print capabilities.
FieldError
Field error.
Trait Implementations§
Source§impl Debug for PageImageableSizeError
impl Debug for PageImageableSizeError
Source§impl Display for PageImageableSizeError
impl Display for PageImageableSizeError
Source§impl Error for PageImageableSizeError
impl Error for PageImageableSizeError
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.
Source§impl From<ParsePrintSchemaError> for PageImageableSizeError
impl From<ParsePrintSchemaError> for PageImageableSizeError
Source§fn from(source: ParsePrintSchemaError) -> Self
fn from(source: ParsePrintSchemaError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for PageImageableSizeError
impl !UnwindSafe for PageImageableSizeError
impl Freeze for PageImageableSizeError
impl Send for PageImageableSizeError
impl Sync for PageImageableSizeError
impl Unpin for PageImageableSizeError
impl UnsafeUnpin for PageImageableSizeError
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