pub enum ConsoleConfig {
NoReporting,
ReportWithoutConsoleColor,
ReportWithConsoleColor,
}
Expand description
Determines how the web console should behave
Variants§
NoReporting
Do not record to console
ReportWithoutConsoleColor
Record to console without colorful text
ReportWithConsoleColor
Record to console with colorful text
Implementations§
Source§impl ConsoleConfig
impl ConsoleConfig
Sourcepub fn reporting_enabled(&self) -> bool
pub fn reporting_enabled(&self) -> bool
True if the console reporting spans
Trait Implementations§
Source§impl Clone for ConsoleConfig
impl Clone for ConsoleConfig
Source§fn clone(&self) -> ConsoleConfig
fn clone(&self) -> ConsoleConfig
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 Debug for ConsoleConfig
impl Debug for ConsoleConfig
Source§impl PartialEq for ConsoleConfig
impl PartialEq for ConsoleConfig
impl Copy for ConsoleConfig
impl Eq for ConsoleConfig
impl StructuralPartialEq for ConsoleConfig
Auto Trait Implementations§
impl Freeze for ConsoleConfig
impl RefUnwindSafe for ConsoleConfig
impl Send for ConsoleConfig
impl Sync for ConsoleConfig
impl Unpin for ConsoleConfig
impl UnwindSafe for ConsoleConfig
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