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§