pub enum EmailSignupError<StoreError: Error> {
NotAllowed,
UserExists,
Store(StoreError),
}
Variants§
Trait Implementations§
source§impl<StoreError> Display for EmailSignupError<StoreError>
impl<StoreError> Display for EmailSignupError<StoreError>
source§impl<StoreError> Error for EmailSignupError<StoreError>
impl<StoreError> Error for EmailSignupError<StoreError>
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()
Auto Trait Implementations§
impl<StoreError> Freeze for EmailSignupError<StoreError>where
StoreError: Freeze,
impl<StoreError> RefUnwindSafe for EmailSignupError<StoreError>where
StoreError: RefUnwindSafe,
impl<StoreError> Send for EmailSignupError<StoreError>where
StoreError: Send,
impl<StoreError> Sync for EmailSignupError<StoreError>where
StoreError: Sync,
impl<StoreError> Unpin for EmailSignupError<StoreError>where
StoreError: Unpin,
impl<StoreError> UnwindSafe for EmailSignupError<StoreError>where
StoreError: UnwindSafe,
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