pub trait Resource { const TYPE: &'static str; fn life_guard(&self) -> &LifeGuard; fn label(&self) -> &str { ... } }