[][src]Enum rustsec::advisory::informational::Informational

pub enum Informational {
    Notice,
    Unmaintained,
    Other(String),
}

Categories of informational vulnerabilities

Variants

Notice

Security notices for a crate which are published on https://rustsec.org but don't represent a vulnerability in a crate itself.

Unmaintained

Crate is unmaintained / abandoned

Other(String)

Other types of informational advisories: left open-ended to add more of them in the future.

Methods

impl Informational[src]

pub fn as_str(&self) -> &str[src]

Get a str representing an informational category

Trait Implementations

impl Eq for Informational[src]

impl Clone for Informational[src]

impl PartialOrd<Informational> for Informational[src]

impl PartialEq<Informational> for Informational[src]

impl Ord for Informational[src]

impl Hash for Informational[src]

impl Debug for Informational[src]

impl Display for Informational[src]

impl FromStr for Informational[src]

type Err = Error

The associated error which can be returned from parsing.

impl Serialize for Informational[src]

impl<'de> Deserialize<'de> for Informational[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]