pub trait Authorize {
// Required methods
fn has_any<const N: usize>(&self, modes: [Mode; N]) -> bool;
fn is_none(self) -> bool;
fn may_read(self) -> bool;
fn may_write(self) -> bool;
fn may_execute(self) -> bool;
}
Required Methods§
fn has_any<const N: usize>(&self, modes: [Mode; N]) -> bool
fn is_none(self) -> bool
fn may_read(self) -> bool
fn may_write(self) -> bool
fn may_execute(self) -> bool
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.