pub trait AuthUser:
Clone
+ Send
+ Sync
+ 'static {
type Id: Clone + Eq + Hash + Send + Sync + 'static;
// Required method
fn id(&self) -> Self::Id;
// Provided method
fn session_auth_hash(&self) -> Option<&str> { ... }
}Required Associated Types§
Required Methods§
Provided Methods§
fn session_auth_hash(&self) -> Option<&str>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".