pub enum DecryptionError {
MissingIDEntry,
PasswordProtected,
InvalidEncryption,
UnsupportedAlgorithm,
}Expand description
An error that occurred during decryption.
Variants§
MissingIDEntry
The ID entry is missing in the PDF.
PasswordProtected
The PDF is password-protected and no password (or a wrong one) was provided.
InvalidEncryption
The PDF has invalid encryption.
UnsupportedAlgorithm
The PDF uses an unsupported encryption algorithm.
Trait Implementations§
Source§impl Clone for DecryptionError
impl Clone for DecryptionError
Source§fn clone(&self) -> DecryptionError
fn clone(&self) -> DecryptionError
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 DecryptionError
impl Debug for DecryptionError
Source§impl PartialEq for DecryptionError
impl PartialEq for DecryptionError
impl Copy for DecryptionError
impl Eq for DecryptionError
impl StructuralPartialEq for DecryptionError
Auto Trait Implementations§
impl Freeze for DecryptionError
impl RefUnwindSafe for DecryptionError
impl Send for DecryptionError
impl Sync for DecryptionError
impl Unpin for DecryptionError
impl UnwindSafe for DecryptionError
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