pub trait Divisible: Sync {
// Required methods
fn want(&self, slot: u8, units: u32);
fn release(&self, slot: u8);
fn grant(&self, slot: u8) -> u32;
fn register(&self, slot: u8, waker: &Waker);
}Expand description
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".