pub trait RuntimeApiAuthState:
Clone
+ Send
+ Sync
+ 'static {
// Required method
fn runtime_token(&self) -> Option<&str>;
}Expand description
Bearer token gate for /v1/* routes.
Required Methods§
fn runtime_token(&self) -> Option<&str>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".