use crate::table::{
reclaim::{Kind, View},
token::host,
};
pub trait Queue: View + Copy {
type Pending: Into<Kind<Self::Close, Self::Retire>>;
type Returned;
type Echo: host::Echo;
type Class;
fn pending(&self) -> Option<Self::Pending>;
fn has_inflight(&self) -> bool;
fn bind(self, returned: Self::Returned) -> host::Closed<Self::Echo, Self::Class>;
}