solana_perf::recycler

Trait Reset

source
pub trait Reset {
    // Required methods
    fn reset(&mut self);
    fn warm(&mut self, size_hint: usize);
    fn set_recycler(&mut self, recycler: Weak<RecyclerX<Self>>)
       where Self: Sized;
}

Required Methods§

source

fn reset(&mut self)

source

fn warm(&mut self, size_hint: usize)

source

fn set_recycler(&mut self, recycler: Weak<RecyclerX<Self>>)
where Self: Sized,

Implementors§