Skip to main content

dope_sys/engine/
cancel.rs

1use crate::io::reactor::Full;
2
3/// Cancels the option chain owned by a live asynchronous tuning permit.
4pub trait Cancel<S> {
5    type Permit;
6
7    fn cancel(&mut self, permit: &Self::Permit, slot: S) -> Result<(), Full>;
8}