1 2 3 4 5 6 7 8 9 10 11 12 13 14
mod error; pub use error::*; mod recorded_reader; pub use recorded_reader::*; use std::io::Read; pub trait Decode where Self: Sized, { fn decode<R: Read>(src: &mut R) -> Result<Self, DecodeError>; }