Skip to main content

ReadPad

Trait ReadPad 

Source
pub trait ReadPad {
    // Required method
    fn read_pad(&self, buf: &mut Vec<u8>) -> Result<usize>;
}
Expand description

A ReadPad can read to a buffer.

Required Methods§

Source

fn read_pad(&self, buf: &mut Vec<u8>) -> Result<usize>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§