Struct defmt_decoder::log::DefmtRecord
source · pub struct DefmtRecord<'a> { /* private fields */ }Available on
unstable only.Expand description
A log record representing a defmt log frame.
Implementations§
source§impl<'a> DefmtRecord<'a>
impl<'a> DefmtRecord<'a>
sourcepub fn new(log_record: &'a Record<'a>) -> Option<Self>
pub fn new(log_record: &'a Record<'a>) -> Option<Self>
If record was produced by log_defmt, returns the corresponding DefmtRecord.