pub type CloseHandler = Box<dyn Fn() + Send + Sync>;
Close handler callback type.
pub struct CloseHandler(/* private fields */);