pub enum TelegramLoginError {
InvalidHash,
VerificationFailed,
}
Expand description
There are 2 ways in which the check_signature
method can fail.
Variants
InvalidHash
VerificationFailed
Trait Implementations
sourceimpl Clone for TelegramLoginError
impl Clone for TelegramLoginError
sourcefn clone(&self) -> TelegramLoginError
fn clone(&self) -> TelegramLoginError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TelegramLoginError
impl Debug for TelegramLoginError
sourceimpl PartialEq<TelegramLoginError> for TelegramLoginError
impl PartialEq<TelegramLoginError> for TelegramLoginError
sourcefn eq(&self, other: &TelegramLoginError) -> bool
fn eq(&self, other: &TelegramLoginError) -> bool
impl StructuralPartialEq for TelegramLoginError
Auto Trait Implementations
impl RefUnwindSafe for TelegramLoginError
impl Send for TelegramLoginError
impl Sync for TelegramLoginError
impl Unpin for TelegramLoginError
impl UnwindSafe for TelegramLoginError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more