pub trait LocalQueue<const N: usize> {
    type BufferCell: Send + Sync + Sized + 'static;

    // Required method
    fn queue() -> &'static LocalKey<StackQueue<Self::BufferCell, N>>;
}
Expand description

Thread local context for enqueuing tasks on a StackQueue

Required Associated Types§

source

type BufferCell: Send + Sync + Sized + 'static

Required Methods§

source

fn queue() -> &'static LocalKey<StackQueue<Self::BufferCell, N>>

Implementors§