pub trait Backend<C: Context>: Sized {
// Required method
fn try_cancel<const FAMILY: u8>(
&mut self,
key: C::Key,
pending: bool,
slot: Option<&<C::Inputs as Context>::Target>,
) -> Cancellation<C>;
}Required Methods§
fn try_cancel<const FAMILY: u8>( &mut self, key: C::Key, pending: bool, slot: Option<&<C::Inputs as Context>::Target>, ) -> Cancellation<C>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".