sheave_core

Trait Decoder

Source
pub trait Decoder<T> {
    // Required method
    fn decode(&mut self) -> IOResult<T>;
}
Expand description

Decodes bytes into a chunk data. This can return errors for decoding fails by something cause.

Required Methods§

Source

fn decode(&mut self) -> IOResult<T>

Implementors§