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(&'static str, Color)
The report is of a kind not built into Ariadne.
Trait Implementations
sourceimpl Clone for ReportKind
impl Clone for ReportKind
sourcefn clone(&self) -> ReportKind
fn clone(&self) -> ReportKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ReportKind
impl Debug for ReportKind
sourceimpl Display for ReportKind
impl Display for ReportKind
sourceimpl PartialEq<ReportKind> for ReportKind
impl PartialEq<ReportKind> for ReportKind
sourcefn eq(&self, other: &ReportKind) -> bool
fn eq(&self, other: &ReportKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ReportKind) -> bool
fn ne(&self, other: &ReportKind) -> bool
This method tests for !=
.
impl Copy for ReportKind
impl Eq for ReportKind
impl StructuralEq for ReportKind
impl StructuralPartialEq for ReportKind
Auto Trait Implementations
impl RefUnwindSafe for ReportKind
impl Send for ReportKind
impl Sync for ReportKind
impl Unpin for ReportKind
impl UnwindSafe for ReportKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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