pub enum AccountSessionError {
Secrets(SecretsError),
UnreadableRecord(Error),
InvalidCredentials,
SecureStoreUnavailable,
}Expand description
Failures while selecting, decoding, or validating account session storage.
Variants§
Secrets(SecretsError)
Underlying credential-store failure.
UnreadableRecord(Error)
Stored session JSON could not be decoded.
InvalidCredentials
Stored or newly returned authentication credentials are malformed.
No approved secure session backend is available.
Trait Implementations§
Source§impl Debug for AccountSessionError
impl Debug for AccountSessionError
Source§impl Display for AccountSessionError
impl Display for AccountSessionError
Source§impl Error for AccountSessionError
impl Error for AccountSessionError
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<SecretsError> for AccountSessionError
impl From<SecretsError> for AccountSessionError
Source§fn from(source: SecretsError) -> Self
fn from(source: SecretsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for AccountSessionError
impl !UnwindSafe for AccountSessionError
impl Freeze for AccountSessionError
impl Send for AccountSessionError
impl Sync for AccountSessionError
impl Unpin for AccountSessionError
impl UnsafeUnpin for AccountSessionError
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