pub trait Cancel<S> {
type Permit;
// Required method
fn cancel(&mut self, permit: &Self::Permit, slot: S) -> Result<(), Full>;
}Expand description
Cancels the option chain owned by a live asynchronous tuning permit.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".