pub enum SemanticRedactorError {
ParseFailed(String),
PageReconstructionFailed(String),
WriteFailed(String),
}Expand description
Errors that can occur during semantic redaction.
Variants§
ParseFailed(String)
Failed to parse the input PDF
PageReconstructionFailed(String)
Failed to reconstruct a page
WriteFailed(String)
Failed to write the output PDF
Trait Implementations§
Source§impl Debug for SemanticRedactorError
impl Debug for SemanticRedactorError
Source§impl Display for SemanticRedactorError
impl Display for SemanticRedactorError
Source§impl Error for SemanticRedactorError
impl Error for SemanticRedactorError
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 SemanticRedactorError
impl RefUnwindSafe for SemanticRedactorError
impl Send for SemanticRedactorError
impl Sync for SemanticRedactorError
impl Unpin for SemanticRedactorError
impl UnsafeUnpin for SemanticRedactorError
impl UnwindSafe for SemanticRedactorError
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