pub trait AuthChecker: Send + Sync {
// Required methods
fn is_authenticated(&self) -> bool;
fn check_status(&self) -> AuthCheckResult;
}Expand description
Required Methods§
Sourcefn is_authenticated(&self) -> bool
fn is_authenticated(&self) -> bool
Sourcefn check_status(&self) -> AuthCheckResult
fn check_status(&self) -> AuthCheckResult
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".