#[non_exhaustive]
pub enum IdKind {
RustSec,
Cve,
Ghsa,
Talos,
Other,
}Expand description
Known kinds of advisory IDs
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RustSec
Our advisory namespace
Cve
Common Vulnerabilities and Exposures
Ghsa
GitHub Security Advisory
Talos
Cisco Talos identifiers
Other
Other types of advisory identifiers we don’t know about
Implementations§
Trait Implementations§
source§impl Ord for IdKind
impl Ord for IdKind
source§impl PartialEq<IdKind> for IdKind
impl PartialEq<IdKind> for IdKind
source§impl PartialOrd<IdKind> for IdKind
impl PartialOrd<IdKind> for IdKind
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for IdKind
impl Eq for IdKind
impl StructuralEq for IdKind
impl StructuralPartialEq for IdKind
Auto Trait Implementations§
impl RefUnwindSafe for IdKind
impl Send for IdKind
impl Sync for IdKind
impl Unpin for IdKind
impl UnwindSafe for IdKind
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.