Enum cargo::util::auth::AuthorizationErrorReason
source · pub enum AuthorizationErrorReason {
TokenMissing,
TokenRejected,
}
Variants§
Trait Implementations§
source§impl Debug for AuthorizationErrorReason
impl Debug for AuthorizationErrorReason
source§impl Display for AuthorizationErrorReason
impl Display for AuthorizationErrorReason
source§impl PartialEq<AuthorizationErrorReason> for AuthorizationErrorReason
impl PartialEq<AuthorizationErrorReason> for AuthorizationErrorReason
source§fn eq(&self, other: &AuthorizationErrorReason) -> bool
fn eq(&self, other: &AuthorizationErrorReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.