pub trait AuthApiMut {
type Error;
// Required method
fn authenticate_user(
&mut self,
body: Option<AuthRequest>,
) -> Result<AuthResponse, Self::Error>;
}Required Associated Types§
Required Methods§
Sourcefn authenticate_user(
&mut self,
body: Option<AuthRequest>,
) -> Result<AuthResponse, Self::Error>
fn authenticate_user( &mut self, body: Option<AuthRequest>, ) -> Result<AuthResponse, Self::Error>
User authentication
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".