[][src]Enum texrender::RenderingError

pub enum RenderingError {
    TempdirCreation(Error),
    WriteInputFile(Error),
    ReadOutputFile(Error),
    RunError(Error),
    LatexError {
        status: Option<i32>,
        stdout: Vec<u8>,
        stderr: Vec<u8>,
    },
}

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.

Fields of LatexError

status: Option<i32>

Process exit code.

stdout: Vec<u8>

Content of stdout.

stderr: Vec<u8>

Content of stderr.

Trait Implementations

impl Debug for RenderingError[src]

impl Display for RenderingError[src]

impl Error for RenderingError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.