[][src]Trait git_odb::pack::cache::DecodeEntry

pub trait DecodeEntry {
    fn put(
        &mut self,
        offset: u64,
        data: &[u8],
        kind: Kind,
        compressed_size: usize
    );
fn get(&mut self, offset: u64, out: &mut Vec<u8>) -> Option<(Kind, usize)>; }

Required methods

fn put(&mut self, offset: u64, data: &[u8], kind: Kind, compressed_size: usize)

fn get(&mut self, offset: u64, out: &mut Vec<u8>) -> Option<(Kind, usize)>

Loading content...

Implementors

impl DecodeEntry for DecodeEntryLRU[src]

impl DecodeEntry for DecodeEntryNoop[src]

Loading content...