#[non_exhaustive]pub enum ApiErrorKind {
Show 36 variants
InvalidCredentials,
EmailRequired,
EmailInvalid,
PasswordRequired,
PasswordInvalid,
PasswordNotSupported,
SsoRequired,
OtpRequired,
OtpInvalid,
TokenNotAllowed,
TokenFormatInvalid,
TokenInvalid,
TokenExpired,
LicenseSuspended,
LicenseExpired,
LicenseNotAllowed,
LicenseNotActivated,
LicenseKeyInvalid,
LicenseTokenInvalid,
LicenseTooManyMachines,
LicenseTooManyCores,
LicenseTooManyProcesses,
MachineAlreadyActivated,
MachineLimitExceeded,
ProcessLimitExceeded,
ComponentConflict,
ComponentAlreadyActivated,
ComponentNotActivated,
HeartbeatDead,
HeartbeatPingFailed,
HeartbeatRequired,
ValidationFingerprintMissing,
ValidationComponentsMissing,
ValidationProductMissing,
NotFound,
Unknown,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidCredentials
EmailRequired
EmailInvalid
PasswordRequired
PasswordInvalid
PasswordNotSupported
SsoRequired
OtpRequired
OtpInvalid
TokenNotAllowed
TokenFormatInvalid
TokenInvalid
TokenExpired
LicenseSuspended
LicenseExpired
LicenseNotAllowed
LicenseNotActivated
LicenseKeyInvalid
LicenseTokenInvalid
LicenseTooManyMachines
LicenseTooManyCores
LicenseTooManyProcesses
MachineAlreadyActivated
MachineLimitExceeded
ProcessLimitExceeded
ComponentConflict
ComponentAlreadyActivated
ComponentNotActivated
HeartbeatDead
HeartbeatPingFailed
HeartbeatRequired
ValidationFingerprintMissing
ValidationComponentsMissing
ValidationProductMissing
NotFound
Unknown
Trait Implementations§
Source§impl Clone for ApiErrorKind
impl Clone for ApiErrorKind
impl Copy for ApiErrorKind
Source§impl Debug for ApiErrorKind
impl Debug for ApiErrorKind
impl Eq for ApiErrorKind
Source§impl PartialEq for ApiErrorKind
impl PartialEq for ApiErrorKind
impl StructuralPartialEq for ApiErrorKind
Auto Trait Implementations§
impl Freeze for ApiErrorKind
impl RefUnwindSafe for ApiErrorKind
impl Send for ApiErrorKind
impl Sync for ApiErrorKind
impl Unpin for ApiErrorKind
impl UnsafeUnpin for ApiErrorKind
impl UnwindSafe for ApiErrorKind
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