Enum armorlib::finding::Severity [] [src]

pub enum Severity {
    Ok(String),
    Warn(String),
    Danger(String),
    Severe(String),
}

An enum that represents severity. While not necessarily limited to findings, they are commonly used in the Finding struct to designate the severity of a finding related to a privacy or security vulnerability. The following documentation assumes this use case.

The attached String is a description of the potential ramifications of the vulnerability. For example, this explanation string may be likely indicates malicious software or, alternatively, not an issue. This should not be a full sentence.

Variants

For use there is no issue.

For use when the data has a potential problem, but it is not threatening; an afterthought.

For use when the data has a problem which may compromise security or privacy.

For use then the data has a problem which will surely compromise security or privacy.

Trait Implementations

impl Debug for Severity
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Severity
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Severity
[src]

impl Hash for Severity
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more