pub enum ImageExtractionError {
Operation(OperationError),
LimitExceeded {
limit: &'static str,
maximum: u64,
attempted: u64,
},
}Expand description
Errors produced by bounded in-memory image extraction.
Variants§
Operation(OperationError)
An existing PDF operation or image-processing step failed.
LimitExceeded
A configured extraction bound would be exceeded.
Trait Implementations§
Source§impl Debug for ImageExtractionError
impl Debug for ImageExtractionError
Source§impl Display for ImageExtractionError
impl Display for ImageExtractionError
Source§impl Error for ImageExtractionError
impl Error for ImageExtractionError
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<OperationError> for ImageExtractionError
impl From<OperationError> for ImageExtractionError
Source§fn from(source: OperationError) -> Self
fn from(source: OperationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ImageExtractionError
impl !UnwindSafe for ImageExtractionError
impl Freeze for ImageExtractionError
impl Send for ImageExtractionError
impl Sync for ImageExtractionError
impl Unpin for ImageExtractionError
impl UnsafeUnpin for ImageExtractionError
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