pub enum BasicKind {
Error,
Warning,
}Variants§
Trait Implementations§
Source§impl ErrorKind for BasicKind
impl ErrorKind for BasicKind
Source§type Settings = ()
type Settings = ()
Support for a settings object, which can be used to change the behaviour of this error
based on user settings. If not used just use
().Source§fn descriptor(&self) -> &'static str
fn descriptor(&self) -> &'static str
Get the term describing this error, for example ‘error’ or ‘warning’. This is required to be HTML safe.
Source§impl Ord for BasicKind
impl Ord for BasicKind
Source§impl PartialOrd for BasicKind
impl PartialOrd for BasicKind
impl Copy for BasicKind
impl Eq for BasicKind
impl StructuralPartialEq for BasicKind
Auto Trait Implementations§
impl Freeze for BasicKind
impl RefUnwindSafe for BasicKind
impl Send for BasicKind
impl Sync for BasicKind
impl Unpin for BasicKind
impl UnwindSafe for BasicKind
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