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