uncertain_rs/traits.rs
1/// A trait alias for types that can be safely shared across threads and have stable references.
2/// This combines Clone + Send + Sync + 'static which are required for concurrent uncertain computations.
3pub trait Shareable: Clone + Send + Sync + 'static {}
4
5// Blanket implementation for all types that satisfy the bounds
6impl<T> Shareable for T where T: Clone + Send + Sync + 'static {}