Trait stack_queue::LocalQueue
source · 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 StackQueue
Required Associated Types§
type BufferCell: Send + Sync + Sized + 'static
Required Methods§
fn queue() -> &'static LocalKey<StackQueue<Self::BufferCell, N>>
Object Safety§
This trait is not object safe.