pub enum AuthenticationException {
Failed {
message: String,
result: EResult,
},
Other {
message: String,
},
}Expand description
Returned when SteamAuthentication fails to authenticate.
Variants§
Failed
The operation failed with a Steam result code.
Fields
Other
The operation failed for a reason that has no result code.
Implementations§
Trait Implementations§
Source§impl Clone for AuthenticationException
impl Clone for AuthenticationException
Source§impl Debug for AuthenticationException
impl Debug for AuthenticationException
Source§impl Display for AuthenticationException
impl Display for AuthenticationException
impl Eq for AuthenticationException
Source§impl Error for AuthenticationException
impl Error for AuthenticationException
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<AuthenticationException> for SteamError
impl From<AuthenticationException> for SteamError
Source§fn from(value: AuthenticationException) -> Self
fn from(value: AuthenticationException) -> Self
Converts into SteamError.
Source§impl PartialEq for AuthenticationException
impl PartialEq for AuthenticationException
impl StructuralPartialEq for AuthenticationException
Auto Trait Implementations§
impl Freeze for AuthenticationException
impl RefUnwindSafe for AuthenticationException
impl Send for AuthenticationException
impl Sync for AuthenticationException
impl Unpin for AuthenticationException
impl UnsafeUnpin for AuthenticationException
impl UnwindSafe for AuthenticationException
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.