pub trait FileDecoder<'de>: Sized {
    // Required method
    fn decode_from_file(
        file: &Path,
        buf: &'de mut Vec<u8>
    ) -> BuckyResult<(Self, usize)>;
}

Required Methods§

source

fn decode_from_file( file: &Path, buf: &'de mut Vec<u8> ) -> BuckyResult<(Self, usize)>

Implementors§

source§

impl<'de, D> FileDecoder<'de> for Dwhere D: RawDecode<'de>,