Enum logpacket::detail::LogSeverity
source · [−]#[repr(u8)]
pub enum LogSeverity {
Trace,
Info,
Warn,
Error,
Fatal,
}
Variants
Trace
Info
Warn
Error
Fatal
Trait Implementations
sourceimpl Clone for LogSeverity
impl Clone for LogSeverity
sourcefn clone(&self) -> LogSeverity
fn clone(&self) -> LogSeverity
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LogSeverity
impl Debug for LogSeverity
sourceimpl PartialEq<LogSeverity> for LogSeverity
impl PartialEq<LogSeverity> for LogSeverity
sourcefn eq(&self, other: &LogSeverity) -> bool
fn eq(&self, other: &LogSeverity) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
1.0.0fn ne(&self, other: &Rhs) -> bool
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Copy for LogSeverity
impl Eq for LogSeverity
impl StructuralEq for LogSeverity
impl StructuralPartialEq for LogSeverity
Auto Trait Implementations
impl RefUnwindSafe for LogSeverity
impl Send for LogSeverity
impl Sync for LogSeverity
impl Unpin for LogSeverity
impl UnwindSafe for LogSeverity
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more