Struct defmt_decoder::log::format::FormatterConfig
source · pub struct FormatterConfig<'a> {
pub format: FormatterFormat<'a>,
pub is_timestamp_available: bool,
}Available on
unstable only.Fields§
§format: FormatterFormat<'a>§is_timestamp_available: boolImplementations§
source§impl<'a> FormatterConfig<'a>
impl<'a> FormatterConfig<'a>
pub fn custom(format: &'a str) -> Self
pub fn with_timestamp(self) -> Self
pub fn with_location(self) -> Self
Trait Implementations§
source§impl<'a> Debug for FormatterConfig<'a>
impl<'a> Debug for FormatterConfig<'a>
source§impl<'a> Default for FormatterConfig<'a>
impl<'a> Default for FormatterConfig<'a>
source§fn default() -> FormatterConfig<'a>
fn default() -> FormatterConfig<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for FormatterConfig<'a>
impl<'a> RefUnwindSafe for FormatterConfig<'a>
impl<'a> Send for FormatterConfig<'a>
impl<'a> Sync for FormatterConfig<'a>
impl<'a> Unpin for FormatterConfig<'a>
impl<'a> UnwindSafe for FormatterConfig<'a>
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