Enum rustsec::advisory::informational::Informational [−][src]
#[non_exhaustive]
pub enum Informational {
Notice,
Unmaintained,
Unsound,
Other(String),
}Expand description
Categories of informational vulnerabilities
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Security notices for a crate which are published on https://rustsec.org but don’t represent a vulnerability in a crate itself.
Crate is unmaintained / abandoned
Crate is not sound, i.e., unsound.
A crate is unsound if, using its public API from safe code, it is possible to cause Undefined Behavior.
Other(String)Other types of informational advisories: left open-ended to add more of them in the future.
Implementations
Get a str representing an Informational category
Is this informational advisory for an unmaintained crate?
Is this informational advisory for an unsound crate?
Get a warning kind for this informational type (if applicable)
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Informationalimpl Send for Informationalimpl Sync for Informationalimpl Unpin for Informationalimpl UnwindSafe for InformationalBlanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more