pub trait VariableReadable: VarintReader
where Error: From<<Self as VarintReader>::Error>,
{ // Provided methods fn read_more(&mut self, buf: &mut [u8]) -> Result<()> { ... } fn read_u8_vec(&mut self) -> Result<Vec<u8>> { ... } fn read_string(&mut self) -> Result<String> { ... } }

Provided Methods§

source

fn read_more(&mut self, buf: &mut [u8]) -> Result<()>

source

fn read_u8_vec(&mut self) -> Result<Vec<u8>>

source

fn read_string(&mut self) -> Result<String>

Object Safety§

This trait is not object safe.

Implementors§