pub enum AuthRateLimitScope {
LoginIp,
LoginAccount,
TwoFactorIp,
TwoFactorAccount,
RegistrationIp,
PasswordResetIp,
}Expand description
Authentication operation whose budget was exceeded.
Variants§
LoginIp
Login attempts from one client address.
LoginAccount
Login attempts for one normalized account identifier.
TwoFactorIp
Two-factor attempts from one client address.
TwoFactorAccount
Two-factor attempts for one server-owned account.
RegistrationIp
Registration attempts from one client address.
PasswordResetIp
Password-reset attempts from one client address.
Trait Implementations§
Source§impl Clone for AuthRateLimitScope
impl Clone for AuthRateLimitScope
impl Copy for AuthRateLimitScope
Source§impl Debug for AuthRateLimitScope
impl Debug for AuthRateLimitScope
impl Eq for AuthRateLimitScope
Source§impl PartialEq for AuthRateLimitScope
impl PartialEq for AuthRateLimitScope
impl StructuralPartialEq for AuthRateLimitScope
Auto Trait Implementations§
impl Freeze for AuthRateLimitScope
impl RefUnwindSafe for AuthRateLimitScope
impl Send for AuthRateLimitScope
impl Sync for AuthRateLimitScope
impl Unpin for AuthRateLimitScope
impl UnsafeUnpin for AuthRateLimitScope
impl UnwindSafe for AuthRateLimitScope
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