pub enum BibtexOutcome {
Spotless = 0,
Warnings = 1,
Errors = 2,
}
Expand description
A possible outcome from a BibTeX engine invocation.
The classic TeX implementation provides a fourth outcome: “fatal error”. In
Tectonic, this outcome is represented as an Err
result rather than a
BibtexOutcome
.
Variants§
Spotless = 0
Nothing bad happened.
Warnings = 1
Warnings were issued.
Errors = 2
Errors occurred. Note that, in TeX usage, “errors” are not necessarily fatal errors: the engine will proceed and work around errors as best it can.
Trait Implementations§
source§impl Clone for BibtexOutcome
impl Clone for BibtexOutcome
source§fn clone(&self) -> BibtexOutcome
fn clone(&self) -> BibtexOutcome
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BibtexOutcome
impl Debug for BibtexOutcome
source§impl Ord for BibtexOutcome
impl Ord for BibtexOutcome
source§fn cmp(&self, other: &BibtexOutcome) -> Ordering
fn cmp(&self, other: &BibtexOutcome) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for BibtexOutcome
impl PartialEq for BibtexOutcome
source§fn eq(&self, other: &BibtexOutcome) -> bool
fn eq(&self, other: &BibtexOutcome) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for BibtexOutcome
impl PartialOrd for BibtexOutcome
source§fn partial_cmp(&self, other: &BibtexOutcome) -> Option<Ordering>
fn partial_cmp(&self, other: &BibtexOutcome) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for BibtexOutcome
impl Eq for BibtexOutcome
impl StructuralPartialEq for BibtexOutcome
Auto Trait Implementations§
impl RefUnwindSafe for BibtexOutcome
impl Send for BibtexOutcome
impl Sync for BibtexOutcome
impl Unpin for BibtexOutcome
impl UnwindSafe for BibtexOutcome
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