use std::convert;
use crate::depot::arena::slab::{external, lookup};
#[derive(Debug)]
pub enum Lookup<G: external::Generation, Tag = (), B = convert::Infallible> {
Physical {
key: external::Key<G, Tag>,
cause: lookup::Error<B, convert::Infallible>,
},
Generation {
key: external::Key<G, Tag>,
actual: G,
},
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub struct Exhausted;
const _: () = assert!(std::mem::size_of::<crate::depot::arena::slab::Vacancy>() == 1);
const _: () = assert!(std::mem::size_of::<Exhausted>() == 0);