pub trait BufferRetentionPolicy<const ALIGNMENT: usize>: Copy {
// Required method
fn should_retain(&self, buffer: &UniqueAlignedBuffer<ALIGNMENT>) -> bool;
}Expand description
A policy for retaining buffers in the pool.
Required Methods§
fn should_retain(&self, buffer: &UniqueAlignedBuffer<ALIGNMENT>) -> bool
Object Safety§
This trait is not object safe.