Struct rust_tdlib::client::auth_handler::SignalAuthStateHandler [−][src]
pub struct SignalAuthStateHandler { /* fields omitted */ }
Expand description
All required methods wait for data sent by Sender.
Implementations
Trait Implementations
fn handle_wait_code<'life0, 'life1, 'async_trait>(
&'life0 self,
__arg1: &'life1 AuthorizationStateWaitCode
) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn handle_wait_code<'life0, 'life1, 'async_trait>(
&'life0 self,
__arg1: &'life1 AuthorizationStateWaitCode
) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Returns wait code
fn handle_encryption_key<'life0, 'life1, 'async_trait>(
&'life0 self,
__arg1: &'life1 AuthorizationStateWaitEncryptionKey
) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn handle_encryption_key<'life0, 'life1, 'async_trait>(
&'life0 self,
__arg1: &'life1 AuthorizationStateWaitEncryptionKey
) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Returns database encryption key
fn handle_wait_password<'life0, 'life1, 'async_trait>(
&'life0 self,
__arg1: &'life1 AuthorizationStateWaitPassword
) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn handle_wait_password<'life0, 'life1, 'async_trait>(
&'life0 self,
__arg1: &'life1 AuthorizationStateWaitPassword
) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Returns password
fn handle_wait_phone_number<'life0, 'life1, 'async_trait>(
&'life0 self,
__arg1: &'life1 AuthorizationStateWaitPhoneNumber
) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn handle_wait_phone_number<'life0, 'life1, 'async_trait>(
&'life0 self,
__arg1: &'life1 AuthorizationStateWaitPhoneNumber
) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Returns phone number
Returns first_name and second_name
fn handle_other_device_confirmation<'life0, 'life1, 'async_trait>(
&'life0 self,
wait_device_confirmation: &'life1 AuthorizationStateWaitOtherDeviceConfirmation
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
fn handle_other_device_confirmation<'life0, 'life1, 'async_trait>(
&'life0 self,
wait_device_confirmation: &'life1 AuthorizationStateWaitOtherDeviceConfirmation
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: Sync + 'async_trait,
Interacts with provided link
Auto Trait Implementations
impl !RefUnwindSafe for SignalAuthStateHandler
impl Send for SignalAuthStateHandler
impl Sync for SignalAuthStateHandler
impl Unpin for SignalAuthStateHandler
impl !UnwindSafe for SignalAuthStateHandler
Blanket Implementations
Mutably borrows from an owned value. Read more