pub enum ConsoleFilter {
All,
State,
Network,
Performance,
Component(String),
}Expand description
Controls which event categories the ConsoleSubscriber prints.
Mirrors the --trace=<category> CLI flags from rsc dev.
Variants§
All
Print all events.
State
Print only atom read/write events.
Network
Print only network request events.
Performance
Print only frame and layout timing events.
Component(String)
Print only events for a specific component name.
Trait Implementations§
Source§impl Clone for ConsoleFilter
impl Clone for ConsoleFilter
Source§fn clone(&self) -> ConsoleFilter
fn clone(&self) -> ConsoleFilter
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 ConsoleFilter
impl Debug for ConsoleFilter
Source§impl PartialEq for ConsoleFilter
impl PartialEq for ConsoleFilter
impl StructuralPartialEq for ConsoleFilter
Auto Trait Implementations§
impl Freeze for ConsoleFilter
impl RefUnwindSafe for ConsoleFilter
impl Send for ConsoleFilter
impl Sync for ConsoleFilter
impl Unpin for ConsoleFilter
impl UnsafeUnpin for ConsoleFilter
impl UnwindSafe for ConsoleFilter
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