1pub trait HasHandle<H> { 2 fn handle(&self) -> &H; 3} 4 5 6impl<H> HasHandle<H> for H { 7 fn handle(&self) -> &H { self } 8}