pub trait CompatCapability: Sealed + Copy { }Available on crate feature
thread and linux_kernel only.Expand description
Compatibility trait to keep existing code that uses the deprecated Capability type working.
This trait and its methods are sealed. It must not be used downstream.
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.