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 for AuthorizationErrorReason
impl PartialEq 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 ==
.impl StructuralPartialEq for AuthorizationErrorReason
Auto Trait Implementations§
impl RefUnwindSafe for AuthorizationErrorReason
impl Send for AuthorizationErrorReason
impl Sync for AuthorizationErrorReason
impl Unpin for AuthorizationErrorReason
impl UnwindSafe for AuthorizationErrorReason
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