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