pub trait CapTypeForObject: CapType {
// Required method
fn object_type() -> ObjectType;
}
Expand description
Trait for CapType
s which correspond to kernel objects.
Required Methods§
fn object_type() -> ObjectType
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.