pub enum LoadPdfError {
Encryption,
Invalid,
}
Expand description
An error that occurred while loading a PDF file.
Variants§
Encryption
The PDF was encrypted. Encrypted PDF files are currently not supported.
Invalid
The PDF was invalid or could not be parsed due to some other unknown reason.
Trait Implementations§
Source§impl Clone for LoadPdfError
impl Clone for LoadPdfError
Source§fn clone(&self) -> LoadPdfError
fn clone(&self) -> LoadPdfError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LoadPdfError
impl Debug for LoadPdfError
impl Copy for LoadPdfError
Auto Trait Implementations§
impl Freeze for LoadPdfError
impl RefUnwindSafe for LoadPdfError
impl Send for LoadPdfError
impl Sync for LoadPdfError
impl Unpin for LoadPdfError
impl UnwindSafe for LoadPdfError
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