pub trait HasAuthRepository {
type AuthRepo: AuthRepository;
// Required method
fn auth_repository(&self) -> &Self::AuthRepo;
}Required Associated Types§
type AuthRepo: AuthRepository
Required Methods§
fn auth_repository(&self) -> &Self::AuthRepo
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".