pub trait Permission:
Sealed
+ Send
+ Sync
+ 'static {
// Required method
fn name() -> &'static str;
}Expand description
A marker trait for permissions.
Implementations are zero-sized types. The sealed::Sealed bound means no one
outside typesec-core can create new permissions that bypass the policy engine.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".