Enum defmt_decoder::Tag
source · pub enum Tag {
Show 13 variants
Prim,
Derived,
Bitflags,
Write,
Str,
Timestamp,
BitflagsValue,
Println,
Trace,
Debug,
Info,
Warn,
Error,
}
Available on
unstable
only.Expand description
Specifies the origin of a format string
Variants§
Prim
Defmt-controlled format string for primitive types.
Derived
Format string created by #[derive(Format)]
.
Bitflags
Format string created by defmt::bitflags!
.
Write
A user-defined format string from a write!
invocation.
Str
An interned string, for use with {=istr}
.
Timestamp
Defines the global timestamp format.
BitflagsValue
static
containing a possible value of a bitflags type.
Println
Format string created by defmt::println!
.
Trace
Debug
Info
Warn
Error
Trait Implementations§
impl Eq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
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