usecrate::reactive::IDisposable;usestd::rc::Rc;/// Something that tells when it has been closed.
pubtraitICloseable{/// Raised when the object has been closed. Disposing the returned
/// handle unsubscribes.
fnclosed(&self, handler:Rc<dyn Fn()>)->Rc<dyn IDisposable>;}