Enum sdml_errors::diagnostics::SeverityFilter
source · pub enum SeverityFilter {
Bug,
Error,
Warning,
Note,
Help,
None,
}
Expand description
This value determines the level of diagnostics to be emitted by any reporter.
Variants§
Trait Implementations§
source§impl Clone for SeverityFilter
impl Clone for SeverityFilter
source§fn clone(&self) -> SeverityFilter
fn clone(&self) -> SeverityFilter
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 SeverityFilter
impl Debug for SeverityFilter
source§impl Default for SeverityFilter
impl Default for SeverityFilter
source§impl Display for SeverityFilter
impl Display for SeverityFilter
source§impl From<Severity> for SeverityFilter
impl From<Severity> for SeverityFilter
source§impl Hash for SeverityFilter
impl Hash for SeverityFilter
source§impl Ord for SeverityFilter
impl Ord for SeverityFilter
source§fn cmp(&self, other: &SeverityFilter) -> Ordering
fn cmp(&self, other: &SeverityFilter) -> 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<Severity> for SeverityFilter
impl PartialEq<Severity> for SeverityFilter
source§impl PartialEq for SeverityFilter
impl PartialEq for SeverityFilter
source§fn eq(&self, other: &SeverityFilter) -> bool
fn eq(&self, other: &SeverityFilter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SeverityFilter
impl PartialOrd for SeverityFilter
source§fn partial_cmp(&self, other: &SeverityFilter) -> Option<Ordering>
fn partial_cmp(&self, other: &SeverityFilter) -> 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 SeverityFilter
impl Eq for SeverityFilter
impl StructuralPartialEq for SeverityFilter
Auto Trait Implementations§
impl Freeze for SeverityFilter
impl RefUnwindSafe for SeverityFilter
impl Send for SeverityFilter
impl Sync for SeverityFilter
impl Unpin for SeverityFilter
impl UnwindSafe for SeverityFilter
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)