pub trait EncoderVarInt {
// Required methods
fn var_write_size(&self) -> usize;
fn encode_varint<T>(&self, dest: &mut T) -> Result<(), Error>
where T: BufMut;
}
Required Methods§
fn var_write_size(&self) -> usize
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.