pub struct DebugOptions {
pub channels: Option<Vec<String>>,
pub level: Option<LogLevel>,
pub sink: Option<LogSink>,
pub subsystems: Option<Vec<DebugSubsystemName>>,
}Expand description
Options for enable_debug (TS DebugOptions). subsystems selects the registered subsystems
to switch on (all of them when omitted); level is the session’s global level (default
LogLevel::Debug); channels raises extra channels; sink overrides the installed dev sink
(default a level-prefixed text console sink).
Fields§
§channels: Option<Vec<String>>§level: Option<LogLevel>§sink: Option<LogSink>§subsystems: Option<Vec<DebugSubsystemName>>Trait Implementations§
Source§impl Clone for DebugOptions
impl Clone for DebugOptions
Auto Trait Implementations§
impl !RefUnwindSafe for DebugOptions
impl !UnwindSafe for DebugOptions
impl Freeze for DebugOptions
impl Send for DebugOptions
impl Sync for DebugOptions
impl Unpin for DebugOptions
impl UnsafeUnpin for DebugOptions
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