pub enum IdentityError {
NotFound,
InternalServerError,
ServiceUnavailable,
Unauthorized,
InvalidId,
UsernameAlreadyInUse,
}Variants§
Trait Implementations§
Source§impl From<IdentityError> for HttpResponse
impl From<IdentityError> for HttpResponse
Source§fn from(value: IdentityError) -> Self
fn from(value: IdentityError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IdentityError
impl RefUnwindSafe for IdentityError
impl Send for IdentityError
impl Sync for IdentityError
impl Unpin for IdentityError
impl UnwindSafe for IdentityError
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