pub enum PdfAError {
RequiresLicense,
InvalidLevel(String),
ValidationFailed {
error_count: usize,
warning_count: usize,
},
MetadataFailed(String),
ComplianceIssues {
count: usize,
},
Operation(String),
}Expand description
PDF/A compliance errors.
Variants§
RequiresLicense
Feature requires a commercial license.
InvalidLevel(String)
Invalid PDF/A level.
ValidationFailed
Validation failed.
Fields
MetadataFailed(String)
Failed to add metadata.
ComplianceIssues
Document has compliance issues.
Operation(String)
Generic PDF/A operation error.
Trait Implementations§
Source§impl Error for PdfAError
impl Error for PdfAError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for PdfAError
impl RefUnwindSafe for PdfAError
impl Send for PdfAError
impl Sync for PdfAError
impl Unpin for PdfAError
impl UnwindSafe for PdfAError
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