pub enum RuntimeInterfaceLogLevel {
Error = 0,
Warn = 1,
Info = 2,
Debug = 3,
Trace = 4,
}
Expand description
A log level matching the one from log
crate.
Used internally by sp_io::logging::log
method.
Variants§
Error = 0
Error
log level.
Warn = 1
Warn
log level.
Info = 2
Info
log level.
Debug = 3
Debug
log level.
Trace = 4
Trace
log level.
Trait Implementations§
Source§impl Clone for RuntimeInterfaceLogLevel
impl Clone for RuntimeInterfaceLogLevel
Source§fn clone(&self) -> RuntimeInterfaceLogLevel
fn clone(&self) -> RuntimeInterfaceLogLevel
Returns a duplicate 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 From<Level> for RuntimeInterfaceLogLevel
impl From<Level> for RuntimeInterfaceLogLevel
Source§impl From<RuntimeInterfaceLogLevel> for Level
impl From<RuntimeInterfaceLogLevel> for Level
Source§fn from(l: RuntimeInterfaceLogLevel) -> Self
fn from(l: RuntimeInterfaceLogLevel) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeInterfaceLogLevel> for u8
impl From<RuntimeInterfaceLogLevel> for u8
Source§fn from(value: RuntimeInterfaceLogLevel) -> Self
fn from(value: RuntimeInterfaceLogLevel) -> Self
Converts to this type from the input type.
Source§impl From<u32> for RuntimeInterfaceLogLevel
impl From<u32> for RuntimeInterfaceLogLevel
Source§impl TryFrom<u8> for RuntimeInterfaceLogLevel
impl TryFrom<u8> for RuntimeInterfaceLogLevel
impl Copy for RuntimeInterfaceLogLevel
Auto Trait Implementations§
impl Freeze for RuntimeInterfaceLogLevel
impl RefUnwindSafe for RuntimeInterfaceLogLevel
impl Send for RuntimeInterfaceLogLevel
impl Sync for RuntimeInterfaceLogLevel
impl Unpin for RuntimeInterfaceLogLevel
impl UnwindSafe for RuntimeInterfaceLogLevel
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
Source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
Source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.