pub trait FormatByteReceiver {
type Api: ManagedTypeApi;
// Required methods
fn append_bytes(&mut self, bytes: &[u8]);
fn append_managed_buffer(&mut self, item: &ManagedBuffer<Self::Api>);
fn append_managed_buffer_lower_hex(
&mut self,
item: &ManagedBuffer<Self::Api>,
);
fn append_managed_buffer_binary(&mut self, item: &ManagedBuffer<Self::Api>);
}Required Associated Types§
type Api: ManagedTypeApi
Required Methods§
fn append_bytes(&mut self, bytes: &[u8])
fn append_managed_buffer(&mut self, item: &ManagedBuffer<Self::Api>)
fn append_managed_buffer_lower_hex(&mut self, item: &ManagedBuffer<Self::Api>)
fn append_managed_buffer_binary(&mut self, item: &ManagedBuffer<Self::Api>)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".