1 2 3 4 5 6 7 8 9 10 11
#[derive(Copy, Clone, PartialEq, Eq)] pub enum BufferType { FIFO, LIFO, } impl Default for BufferType { fn default() -> Self { BufferType::FIFO } }