Trait VarInt
pub trait VarInt: Sized + Copy {
// Required methods
fn write<W>(&self, w: &mut W)
where W: Write;
fn read<R>(r: &mut R) -> Result<Self, Error>
where R: Read;
}Required Methods§
fn write<W>(&self, w: &mut W)where
W: Write,
fn read<R>(r: &mut R) -> Result<Self, Error>where
R: Read,
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.