use crate::table::token::host::Flight;
pub trait Drain {
type Key;
type Fault;
type Reported;
type Driver<'d>
where
Self: 'd;
type Flight<'d>: Flight<Key = Self::Key, Fault = Self::Fault, Reported = Self::Reported>
where
Self: 'd;
unsafe fn bind<'d>(
&'d self,
key: Self::Key,
driver: &Self::Driver<'d>,
) -> Option<Self::Flight<'d>>;
fn is_pending(&self) -> bool;
}