pub trait QueueStrategy {
type Priority;
// Required method
fn new_storage<T>(&self) -> QueueStorageBox<T, Self::Priority>
where T: Clone + 'static;
}Expand description
Defines a queue strategy.
Required Associated Types§
Required Methods§
Sourcefn new_storage<T>(&self) -> QueueStorageBox<T, Self::Priority>where
T: Clone + 'static,
fn new_storage<T>(&self) -> QueueStorageBox<T, Self::Priority>where
T: Clone + 'static,
Create a new storage.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.