pub enum ReasonCode {
Show 15 variants
VerdictClean,
VerdictRecommendedVersionNewer,
VerdictAbandoned,
VerdictLowTrust,
VerdictDegradedStale,
VerdictHasRemediation,
VerdictKevListed,
VerdictExploitationCritical,
VerdictObfuscated,
VerdictDenyList,
ClientNetworkUnreachable,
ClientAuthFailed,
ClientBearerMissing,
ClientRateLimited,
RemediationNotFound,
}Expand description
Canonical 15-value ReasonCode registry — Rust mirror of sdk-js v0.4.1
dist/reason-codes.js. Drift = CI failure.
Variants§
VerdictClean
VerdictRecommendedVersionNewer
VerdictAbandoned
VerdictLowTrust
VerdictDegradedStale
Server-side substrate freshness — substance-derived tier preserved,
reason overridden to surface staleness. Distinct from client-side
LIVE_DEGRADED cache-fallback (extension status bar; Cli7 offline mode).
VerdictHasRemediation
VerdictKevListed
VerdictExploitationCritical
VerdictObfuscated
VerdictDenyList
ClientNetworkUnreachable
ClientAuthFailed
ClientBearerMissing
ClientRateLimited
RemediationNotFound
Implementations§
Trait Implementations§
Source§impl Clone for ReasonCode
impl Clone for ReasonCode
Source§fn clone(&self) -> ReasonCode
fn clone(&self) -> ReasonCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReasonCode
Source§impl Debug for ReasonCode
impl Debug for ReasonCode
Source§impl<'de> Deserialize<'de> for ReasonCode
impl<'de> Deserialize<'de> for ReasonCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ReasonCode
impl Display for ReasonCode
impl Eq for ReasonCode
Source§impl Hash for ReasonCode
impl Hash for ReasonCode
Source§impl PartialEq for ReasonCode
impl PartialEq for ReasonCode
Source§fn eq(&self, other: &ReasonCode) -> bool
fn eq(&self, other: &ReasonCode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReasonCode
impl Serialize for ReasonCode
impl StructuralPartialEq for ReasonCode
Auto Trait Implementations§
impl Freeze for ReasonCode
impl RefUnwindSafe for ReasonCode
impl Send for ReasonCode
impl Sync for ReasonCode
impl Unpin for ReasonCode
impl UnsafeUnpin for ReasonCode
impl UnwindSafe for ReasonCode
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