1 2 3 4 5 6 7
use std::any::Any; use std::fmt::Debug; #[derive(Debug)] pub struct CallbackHandle { pub rx: Box<dyn Any + Send>, }