pub trait SendResetPassword:
Send
+ Sync
+ 'static {
// Required method
fn send_reset_password(
&self,
payload: PasswordResetEmail,
request: Option<&Request<Vec<u8>>>,
) -> OutboundSendFuture;
}Expand description
Password reset email sender hook.
Return an outbound future; RustAuth dispatches it in the background so HTTP responses do not wait for provider I/O.
Required Methods§
fn send_reset_password( &self, payload: PasswordResetEmail, request: Option<&Request<Vec<u8>>>, ) -> OutboundSendFuture
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".