pub enum RenderingError {
TempdirCreation(Error),
WriteInputFile(Error),
ReadOutputFile(Error),
RunError(Error),
LatexError {
status: Option<i32>,
stdout: Vec<u8>,
stderr: Vec<u8>,
},
}Expand description
Error occuring during rendering.
Variants§
TempdirCreation(Error)
Temporary directry could not be created.
WriteInputFile(Error)
Writing the input file failed.
ReadOutputFile(Error)
Reading the resulting output file failed.
RunError(Error)
Could not run LaTeX rendering command.
LatexError
latexmk failed.
Trait Implementations§
Source§impl Debug for RenderingError
impl Debug for RenderingError
Source§impl Display for RenderingError
impl Display for RenderingError
Source§impl Error for RenderingError
impl Error for RenderingError
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 RenderingError
impl !RefUnwindSafe for RenderingError
impl Send for RenderingError
impl Sync for RenderingError
impl Unpin for RenderingError
impl !UnwindSafe for RenderingError
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