pub struct CecLogMessage {
pub message: String,
pub level: CecLogLevel,
pub time: Duration,
}
Fields§
§message: String
the actual message
level: CecLogLevel
log level of the message
time: Duration
duration since connection was established
Trait Implementations§
Source§impl Clone for CecLogMessage
impl Clone for CecLogMessage
Source§fn clone(&self) -> CecLogMessage
fn clone(&self) -> CecLogMessage
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 TryFrom<cec_log_message> for CecLogMessage
impl TryFrom<cec_log_message> for CecLogMessage
Source§type Error = TryFromCecLogMessageError
type Error = TryFromCecLogMessageError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for CecLogMessage
impl RefUnwindSafe for CecLogMessage
impl Send for CecLogMessage
impl Sync for CecLogMessage
impl Unpin for CecLogMessage
impl UnwindSafe for CecLogMessage
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