pub struct LogLevelChangedEvent {
pub context_id: DltId,
pub log_level: DltLogLevel,
pub trace_status: DltTraceStatus,
}Expand description
Event sent when DLT log level or trace status changes
Emitted when the DLT daemon changes the log level or trace status for a context.
Register a listener with DltContextHandle::register_log_level_changed_listener()
to receive these events
Fields§
§context_id: DltIdThe DLT context ID that this change applies to
log_level: DltLogLevelThe new log level for the context
trace_status: DltTraceStatusThe new trace status for the context
Trait Implementations§
Source§impl Clone for LogLevelChangedEvent
impl Clone for LogLevelChangedEvent
Source§fn clone(&self) -> LogLevelChangedEvent
fn clone(&self) -> LogLevelChangedEvent
Returns a copy 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 LogLevelChangedEvent
impl Debug for LogLevelChangedEvent
impl Copy for LogLevelChangedEvent
Auto Trait Implementations§
impl Freeze for LogLevelChangedEvent
impl RefUnwindSafe for LogLevelChangedEvent
impl Send for LogLevelChangedEvent
impl Sync for LogLevelChangedEvent
impl Unpin for LogLevelChangedEvent
impl UnwindSafe for LogLevelChangedEvent
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