BufExt

Trait BufExt 

Source
pub trait BufExt {
    // Required methods
    fn get<T: Codec>(&mut self) -> T;
    fn get_variable_length(&mut self) -> u64;
}

Required Methods§

Source

fn get<T: Codec>(&mut self) -> T

Source

fn get_variable_length(&mut self) -> u64

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.

Implementors§