pub struct LogFrame {
pub level: Level,
pub task_id: Option<u16>,
pub timestamp_us: u32,
pub msg: &'static str,
pub args: [LogArg; 2],
}Fields§
§level: Level§task_id: Option<u16>Preemptive task id, or None if logged from a context with no
current task (e.g. before the scheduler starts).
timestamp_us: u32§msg: &'static str§args: [LogArg; 2]Up to two interpolated arguments, substituted in order for each
{} in msg at drain time. LogArg::None in a slot the message
doesn’t reference is simply unused.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogFrame
impl RefUnwindSafe for LogFrame
impl Send for LogFrame
impl Sync for LogFrame
impl Unpin for LogFrame
impl UnsafeUnpin for LogFrame
impl UnwindSafe for LogFrame
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