pub trait Token: Send + Sync {
// Required method
fn as_str(&self) -> &str;
}Expand description
An authentication token that can be passed as a bearer credential.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".