pub trait Slot:
Copy
+ Ord
+ Debug
+ Add<Self::Duration, Output = Self>
+ Sub<Self, Output = Self::Duration>
+ Rem<Self::Duration, Output = Self::Duration>
+ Sub<Self::Duration, Output = Self> {
type Duration: Copy + Ord + Debug + IsZero;
// Required method
fn order_key(&self) -> u64;
}Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".