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
sourceimpl Debug for PandocError
impl Debug for PandocError
sourceimpl Display for PandocError
impl Display for PandocError
sourceimpl Error for PandocError
impl Error for PandocError
sourcefn 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 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more