Trait dvcompute::simulation::strategy::QueueStrategy

source ·
pub trait QueueStrategy {
    type Priority;

    // Required method
    fn new_storage<T>(&self) -> QueueStorageBox<T, Self::Priority>
       where T: 'static;
}
Expand description

Defines a queue strategy.

Required Associated Types§

source

type Priority

The associated priority type, or () if the priorities are not supported.

Required Methods§

source

fn new_storage<T>(&self) -> QueueStorageBox<T, Self::Priority>
where T: 'static,

Create a new storage.

Object Safety§

This trait is not object safe.

Implementors§