pub enum PdfMergeError {
NotSupported,
ReadError(PdfReadError),
Io(String),
}Expand description
Errors that can occur during a PDF merge operation.
Variants§
NotSupported
A feature is requested that is not yet implemented.
ReadError(PdfReadError)
An error occurred while reading one of the source PDFs.
Io(String)
An I/O error occurred while writing the output file.
Trait Implementations§
Source§impl Debug for PdfMergeError
impl Debug for PdfMergeError
Source§impl Display for PdfMergeError
impl Display for PdfMergeError
Source§impl Error for PdfMergeError
impl Error for PdfMergeError
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 PdfMergeError
impl RefUnwindSafe for PdfMergeError
impl Send for PdfMergeError
impl Sync for PdfMergeError
impl Unpin for PdfMergeError
impl UnsafeUnpin for PdfMergeError
impl UnwindSafe for PdfMergeError
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