Enum pdfium_render::error::PdfiumError
source · [−]pub enum PdfiumError {
LoadLibraryError(Error),
PageIndexOutOfBounds,
UnknownBitmapFormat,
UnknownBitmapRotation,
UnknownFormType,
UnknownFormFieldType,
UnknownActionType,
PageObjectIndexOutOfBounds,
UnknownPdfPageObjectType,
UnknownPdfPageTextRenderMode,
PdfiumLibraryInternalError(PdfiumInternalError),
}Variants
LoadLibraryError(Error)
The external Pdfium library could not be loaded.
PageIndexOutOfBounds
UnknownBitmapFormat
UnknownBitmapRotation
UnknownFormType
UnknownFormFieldType
UnknownActionType
PageObjectIndexOutOfBounds
UnknownPdfPageObjectType
UnknownPdfPageTextRenderMode
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more