pub enum NeedsAuthReason {
Mutate {
status: f64,
body: Option<String>,
},
Query {
status: f64,
body: Option<String>,
},
ZeroCache {
reason: String,
},
}Expand description
Why the client needs new credentials.
Variants§
Mutate
The API server answered a push with 401 or 403.
Query
The API server answered a query transform with 401 or 403.
ZeroCache
zero-cache rejected the credentials.
Implementations§
Trait Implementations§
Source§impl Clone for NeedsAuthReason
impl Clone for NeedsAuthReason
Source§impl Debug for NeedsAuthReason
impl Debug for NeedsAuthReason
Source§impl PartialEq for NeedsAuthReason
impl PartialEq for NeedsAuthReason
impl StructuralPartialEq for NeedsAuthReason
Auto Trait Implementations§
impl Forget for NeedsAuthReason
impl Freeze for NeedsAuthReason
impl Move for NeedsAuthReason
impl RefUnwindSafe for NeedsAuthReason
impl Send for NeedsAuthReason
impl Sync for NeedsAuthReason
impl Unpin for NeedsAuthReason
impl UnsafeUnpin for NeedsAuthReason
impl UnwindSafe for NeedsAuthReason
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