Struct defmt_decoder::Frame
source · pub struct Frame<'t> { /* private fields */ }
Available on
unstable
only.Expand description
A log frame
Implementations§
source§impl<'t> Frame<'t>
impl<'t> Frame<'t>
sourcepub fn display(&'t self, colored: bool) -> DisplayFrame<'t>
pub fn display(&'t self, colored: bool) -> DisplayFrame<'t>
Returns a struct that will format this log frame (including message, timestamp, level, etc.).
pub fn display_timestamp(&'t self) -> Option<DisplayTimestamp<'t>>
sourcepub fn display_message(&'t self) -> DisplayMessage<'t>
pub fn display_message(&'t self) -> DisplayMessage<'t>
Returns a struct that will format the message contained in this log frame.