pub trait Capability {
    fn supported_by(qt: QueueType) -> bool;
}
Expand description

A Capability is an object that specifies what kind of operations a queue type performs, allowing what types support what queue operations to be described at runtime by the type system.

Required Methods

Return true if this type level capability is supported by a run-time queue type.

Implementors