Enum pdfium_render::error::PdfiumError
source · [−]pub enum PdfiumError {
Show 13 variants
LoadLibraryError(Error),
PageIndexOutOfBounds,
UnknownBitmapFormat,
UnknownBitmapRotation,
UnknownFormType,
UnknownFormFieldType,
UnknownActionType,
PageObjectIndexOutOfBounds,
PageAnnotationIndexOutOfBounds,
UnknownPdfPageObjectType,
UnknownPdfPageTextRenderMode,
UnknownPdfAnnotationType,
PdfiumLibraryInternalError(PdfiumInternalError),
}Variants
LoadLibraryError(Error)
The external Pdfium library could not be loaded.
PageIndexOutOfBounds
UnknownBitmapFormat
UnknownBitmapRotation
UnknownFormType
UnknownFormFieldType
UnknownActionType
PageObjectIndexOutOfBounds
PageAnnotationIndexOutOfBounds
UnknownPdfPageObjectType
UnknownPdfPageTextRenderMode
UnknownPdfAnnotationType
PdfiumLibraryInternalError(PdfiumInternalError)
A wrapped internal library error from Pdfium’s FPDF_ERR_* constant values.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PdfiumError
impl Send for PdfiumError
impl Sync for PdfiumError
impl Unpin for PdfiumError
impl !UnwindSafe for PdfiumError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more