Trait defmt_decoder::StreamDecoder
source · [−]pub trait StreamDecoder {
fn received(&mut self, data: &[u8]);
fn decode(&mut self) -> Result<Frame<'_>, DecodeError>;
}
This is supported on
unstable
only.Required methods
Push received data to the decoder. The decoder stores it
internally, and makes decoded frames available through decode
.