Enum tg_utils::PreauthError
source · pub enum PreauthError {
Std(StdError),
NoPreauth {},
}
Variants§
Trait Implementations§
source§impl Debug for PreauthError
impl Debug for PreauthError
source§impl Display for PreauthError
impl Display for PreauthError
source§impl Error for PreauthError
impl Error for PreauthError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<StdError> for PreauthError
impl From<StdError> for PreauthError
source§impl PartialEq<PreauthError> for PreauthError
impl PartialEq<PreauthError> for PreauthError
source§fn eq(&self, other: &PreauthError) -> bool
fn eq(&self, other: &PreauthError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.