Enum pandoc::PandocError
source · pub enum PandocError {
BadUtf8Conversion(usize),
IoErr(Error),
Err(Output),
NoOutputSpecified,
NoInputSpecified,
PandocNotFound,
}
Expand description
Possible errors that can occur before or during pandoc execution
Variants§
BadUtf8Conversion(usize)
conversion from UTF-8 failed; includes valid-up-to byte count.
IoErr(Error)
some kind of IO-Error
Err(Output)
pandoc execution failed, provide output from stderr
NoOutputSpecified
forgot to specify an output file
NoInputSpecified
forgot to specify any input files
PandocNotFound
pandoc executable not found
Trait Implementations§
source§impl Debug for PandocError
impl Debug for PandocError
source§impl Display for PandocError
impl Display for PandocError
source§impl Error for PandocError
impl Error for PandocError
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl From<Error> for PandocError
impl From<Error> for PandocError
Auto Trait Implementations§
impl !RefUnwindSafe for PandocError
impl Send for PandocError
impl Sync for PandocError
impl Unpin for PandocError
impl !UnwindSafe for PandocError
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