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.
pub fn level(&self) -> Option<Level>
pub fn index(&self) -> u64
Trait Implementations§
source§impl<'t> PartialEq for Frame<'t>
impl<'t> PartialEq for Frame<'t>
impl<'t> StructuralPartialEq for Frame<'t>
Auto Trait Implementations§
impl<'t> RefUnwindSafe for Frame<'t>
impl<'t> Send for Frame<'t>
impl<'t> Sync for Frame<'t>
impl<'t> Unpin for Frame<'t>
impl<'t> UnwindSafe for Frame<'t>
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