Trait pw_tokenizer::MessageWriter
source · pub trait MessageWriter {
// Required methods
fn new() -> Self;
fn write(&mut self, data: &[u8]) -> Result<()>;
fn remaining(&self) -> usize;
fn finalize(self) -> Result<()>;
}
Expand description
A trait used by tokenize_to_writer!
to output tokenized messages.
For more details on how this type is used, see the tokenize_to_writer!
documentation.
Required Methods§
Object Safety§
This trait is not object safe.