pub enum IdentityStoreError {
Io(Error),
Serialization(Error),
UserNotFound(UserId),
IdentityAlreadyLinked {
provider: String,
subject: String,
},
EmptyIdentity,
InvalidDisplayName,
InvalidTimezone,
}Variants§
Io(Error)
Serialization(Error)
UserNotFound(UserId)
IdentityAlreadyLinked
EmptyIdentity
InvalidDisplayName
InvalidTimezone
Trait Implementations§
Source§impl Debug for IdentityStoreError
impl Debug for IdentityStoreError
Source§impl Display for IdentityStoreError
impl Display for IdentityStoreError
Source§impl Error for IdentityStoreError
impl Error for IdentityStoreError
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<Error> for IdentityStoreError
impl From<Error> for IdentityStoreError
Auto Trait Implementations§
impl !RefUnwindSafe for IdentityStoreError
impl !UnwindSafe for IdentityStoreError
impl Freeze for IdentityStoreError
impl Send for IdentityStoreError
impl Sync for IdentityStoreError
impl Unpin for IdentityStoreError
impl UnsafeUnpin for IdentityStoreError
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