Enum ariadne::ReportKind
source · Expand description
A type that defines the kind of report being produced.
Variants§
Error
The report is an error and indicates a critical problem that prevents the program performing the requested action.
Warning
The report is a warning and indicates a likely problem, but not to the extent that the requested action cannot be performed.
Advice
The report is advice to the user about a potential anti-pattern of other benign issues.
Custom(&'a str, Color)
The report is of a kind not built into Ariadne.
Trait Implementations§
source§impl<'a> Clone for ReportKind<'a>
impl<'a> Clone for ReportKind<'a>
source§fn clone(&self) -> ReportKind<'a>
fn clone(&self) -> ReportKind<'a>
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<'a> Debug for ReportKind<'a>
impl<'a> Debug for ReportKind<'a>
source§impl Display for ReportKind<'_>
impl Display for ReportKind<'_>
source§impl<'a> PartialEq<ReportKind<'a>> for ReportKind<'a>
impl<'a> PartialEq<ReportKind<'a>> for ReportKind<'a>
source§fn eq(&self, other: &ReportKind<'a>) -> bool
fn eq(&self, other: &ReportKind<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.