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.
This can be implemented by using the local_queue macro on any TaskQueue,
BackgroundQueue or BatchReducer impl
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.