[][src]Struct defmt_decoder::Table

pub struct Table { /* fields omitted */ }
This is supported on unstable only.

Interner table that holds log levels and maps format strings to indices

Implementations

impl Table[src]

pub fn new(entries: BTreeMap<usize, TableEntry>) -> Self[src]

NOTE caller must verify that defmt symbols are compatible with this version of the decoder crate using the check_version function

pub fn indices<'s>(&'s self) -> impl Iterator<Item = usize> + 's[src]

pub fn is_empty(&self) -> bool[src]

pub fn raw_symbols<'s>(&'s self) -> impl Iterator<Item = &'s str> + 's[src]

Iterates over the raw symbols of the table entries

Trait Implementations

impl Debug for Table[src]

Auto Trait Implementations

impl RefUnwindSafe for Table

impl Send for Table

impl Sync for Table

impl Unpin for Table

impl UnwindSafe for Table

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.