pub enum ConsoleLevel {
Error,
Warn,
Info,
Log,
Debug,
}Expand description
Console levels observable by vs_inspect console. Mirrors the
browser’s console.<level>(...) family plus the synthetic
error level we use for uncaught exceptions and unhandled
rejections.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ConsoleLevel
impl Clone for ConsoleLevel
Source§fn clone(&self) -> ConsoleLevel
fn clone(&self) -> ConsoleLevel
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 moreSource§impl Debug for ConsoleLevel
impl Debug for ConsoleLevel
Source§impl Hash for ConsoleLevel
impl Hash for ConsoleLevel
Source§impl PartialEq for ConsoleLevel
impl PartialEq for ConsoleLevel
Source§fn eq(&self, other: &ConsoleLevel) -> bool
fn eq(&self, other: &ConsoleLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ConsoleLevel
impl Eq for ConsoleLevel
impl StructuralPartialEq for ConsoleLevel
Auto Trait Implementations§
impl Freeze for ConsoleLevel
impl RefUnwindSafe for ConsoleLevel
impl Send for ConsoleLevel
impl Sync for ConsoleLevel
impl Unpin for ConsoleLevel
impl UnsafeUnpin for ConsoleLevel
impl UnwindSafe for ConsoleLevel
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