pub enum RateLimitEvidence {
Confirmed,
Inferred,
}Expand description
Whether a DepsError::RateLimited classification is backed by explicit server evidence
or merely inferred from a status code and request context alone (#1295).
Variants§
Confirmed
Backed by explicit server evidence, e.g. a confirmed X-RateLimit-Remaining: 0
response header (checked in crate::cache).
Inferred
Inferred from a status code and request context alone — could be an abuse-detection false positive, a secondary rate limit, or an access-restricted repo.
Trait Implementations§
Source§impl Clone for RateLimitEvidence
impl Clone for RateLimitEvidence
impl Copy for RateLimitEvidence
Source§impl Debug for RateLimitEvidence
impl Debug for RateLimitEvidence
impl Eq for RateLimitEvidence
Source§impl PartialEq for RateLimitEvidence
impl PartialEq for RateLimitEvidence
impl StructuralPartialEq for RateLimitEvidence
Auto Trait Implementations§
impl Freeze for RateLimitEvidence
impl RefUnwindSafe for RateLimitEvidence
impl Send for RateLimitEvidence
impl Sync for RateLimitEvidence
impl Unpin for RateLimitEvidence
impl UnsafeUnpin for RateLimitEvidence
impl UnwindSafe for RateLimitEvidence
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.