#[repr(u8)]pub enum HostLogLevel {
Error = 1,
Warn = 2,
Info = 3,
Debug = 4,
Trace = 5,
}Expand description
Log levels mirrored from the host’s log crate without dragging the
crate into the boundary type.
Variants§
Trait Implementations§
Source§impl Clone for HostLogLevel
impl Clone for HostLogLevel
Source§fn clone(&self) -> HostLogLevel
fn clone(&self) -> HostLogLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HostLogLevel
Source§impl Debug for HostLogLevel
impl Debug for HostLogLevel
impl Eq for HostLogLevel
Source§impl PartialEq for HostLogLevel
impl PartialEq for HostLogLevel
Source§fn eq(&self, other: &HostLogLevel) -> bool
fn eq(&self, other: &HostLogLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HostLogLevel
Auto Trait Implementations§
impl Freeze for HostLogLevel
impl RefUnwindSafe for HostLogLevel
impl Send for HostLogLevel
impl Sync for HostLogLevel
impl Unpin for HostLogLevel
impl UnsafeUnpin for HostLogLevel
impl UnwindSafe for HostLogLevel
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.