pub trait Guard:
Send
+ Sync
+ 'static {
// Required method
fn check(&self, ctx: &RequestContext) -> Result<(), Error>;
}Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".