Skip to main content

PhoneNumberSender

Type Alias PhoneNumberSender 

Source
pub type PhoneNumberSender = Arc<dyn Fn(&str, &str) -> Result<(), RustAuthError> + Send + Sync + 'static>;
Expand description

Synchronous OTP sender callback.

The Rust plugin intentionally exposes sync callback types today. If the sender needs async I/O, bridge that work in application code before returning from the callback.

Aliased Typeยง

pub struct PhoneNumberSender { /* private fields */ }