pub enum ValidationError {
InvalidHeader(String),
MissingObjects(Vec<String>),
InvalidXRef(String),
CircularReference(u32, u32),
InvalidPageTree(String),
CorruptedStream(u32),
InvalidEncoding(String),
SecurityViolation(String),
}Expand description
PDF validation errors
Variants§
InvalidHeader(String)
Invalid PDF header
MissingObjects(Vec<String>)
Missing required objects
InvalidXRef(String)
Invalid cross-reference
CircularReference(u32, u32)
Circular reference detected
InvalidPageTree(String)
Invalid page tree
CorruptedStream(u32)
Corrupted stream
InvalidEncoding(String)
Invalid encoding
SecurityViolation(String)
Security violation
Trait Implementations§
Source§impl Clone for ValidationError
impl Clone for ValidationError
Source§fn clone(&self) -> ValidationError
fn clone(&self) -> ValidationError
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 moreAuto Trait Implementations§
impl Freeze for ValidationError
impl RefUnwindSafe for ValidationError
impl Send for ValidationError
impl Sync for ValidationError
impl Unpin for ValidationError
impl UnwindSafe for ValidationError
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