Enum anansi_core::web::WebErrorKind
source · #[non_exhaustive]
pub enum WebErrorKind {
Show 35 variants
Invalid,
NoSession,
Unauthenticated,
BadToken,
NoParam,
NoField,
NoCookie,
NoAttribute,
BadDecode,
BadUri,
BadForm,
BadName,
BadPath,
NoExtension,
BadExtension,
BadCapture,
BadSplit,
BadEmail,
BadMailer,
BadFill,
BadValidate,
NoCache,
FieldError,
BadField,
NoPermission,
BadDb,
NoData,
ExpiredSession,
NotAdmin,
BadRelation,
BadPassword,
BadTotp,
BadUsername,
BadDateTime,
NoQr,
}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.
Invalid
NoSession
Unauthenticated
BadToken
NoParam
NoField
NoCookie
NoAttribute
BadDecode
BadUri
BadForm
BadName
BadPath
NoExtension
BadExtension
BadCapture
BadSplit
BadEmail
BadMailer
BadFill
BadValidate
NoCache
FieldError
BadField
NoPermission
BadDb
NoData
ExpiredSession
NotAdmin
BadRelation
BadPassword
BadTotp
BadUsername
BadDateTime
NoQr
Implementations§
Trait Implementations§
source§impl Debug for WebErrorKind
impl Debug for WebErrorKind
source§impl Display for WebErrorKind
impl Display for WebErrorKind
source§impl PartialEq<WebErrorKind> for WebErrorKind
impl PartialEq<WebErrorKind> for WebErrorKind
source§fn eq(&self, other: &WebErrorKind) -> bool
fn eq(&self, other: &WebErrorKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.