pub trait FormatBuffer: Default {
// Required methods
fn append_ascii(&mut self, ascii: &[u8]);
fn append_display<T: SCDisplay>(&mut self, item: &T);
fn append_lower_hex<T: SCLowerHex>(&mut self, item: &T);
fn append_binary<T: SCBinary>(&mut self, item: &T);
fn append_codec<T: SCCodec>(&mut self, item: &T);
}
Required Methods§
fn append_ascii(&mut self, ascii: &[u8])
fn append_display<T: SCDisplay>(&mut self, item: &T)
fn append_lower_hex<T: SCLowerHex>(&mut self, item: &T)
fn append_binary<T: SCBinary>(&mut self, item: &T)
fn append_codec<T: SCCodec>(&mut self, item: &T)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.