Skip to main content

HasAuthRepository

Trait HasAuthRepository 

Source
pub trait HasAuthRepository {
    type AuthRepo: AuthRepository;

    // Required method
    fn auth_repository(&self) -> &Self::AuthRepo;
}

Required Associated Types§

Required Methods§

Source

fn auth_repository(&self) -> &Self::AuthRepo

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§