Skip to main content

Cancel

Trait Cancel 

Source
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§

Source

fn cancel(&mut self, permit: &Self::Permit, slot: S) -> Result<(), Full>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§