pub trait PerCpuVariantsOps:
Sync
+ Send
+ Debug
+ 'static {
// Required methods
fn create<T: Clone + Sync + Send + 'static>(
value: T,
) -> Option<Box<dyn PerCpuVariants<T>>>;
fn num_cpus() -> u32;
}Expand description
Operations for per-cpu variants.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.