1use downcast_rs::{impl_downcast, Downcast}; 2 3pub trait Value: Downcast + Send + Sync + 'static {} 4 5impl<T> Value for T where T: Send + Sync + 'static {} 6 7impl_downcast!(Value);