FairGroup

Trait FairGroup 

Source
pub trait FairGroup {
    // Required method
    fn is_same_group(&self, other: &Self) -> bool;
}
Expand description

Trait for defining grouping logic for fair queuing. Groups are determined based on is_same_group.

Required Methods§

Source

fn is_same_group(&self, other: &Self) -> bool

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.

Implementors§