Enum Level
enum Level
An enum representing a diagnostic level.
Variants
-
Error An error.
-
Warning A warning.
-
Note A note.
-
Help A help message.
Implementations
impl Clone for Level
fn clone(self: &Self) -> Level
impl Copy for Level
impl Debug for Level
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Freeze for Level
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnsafeUnpin for Level
impl UnwindSafe for Level
impl<T> Any for Level
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Level
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Level
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for Level
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for Level
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Level
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for Level
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Level
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Level
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>