Enum libalpm::Validation [] [src]

pub enum Validation {
    Unknown,
    None,
    Some(ValidationMethod),
}

Whether validation was performed.

Variants

It is not known whether validation was performed.

No validation was performed

1 or more validation methods were performed.

Methods

impl Validation
[src]

Creates a ValidationMethod for when a package validation method is not known.

Creates a ValidationMethod for when no validation was performed.

Creates a ValidationMethod for when md5sum validation was performed.

Creates a ValidationMethod for when sha256sum validation was performed.

Creates a ValidationMethod for when gpg signature validation was performed.

Trait Implementations

impl Debug for Validation
[src]

Formats the value using the given formatter.

impl Copy for Validation
[src]

impl Clone for Validation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Validation
[src]

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

This method tests for !=.

impl Eq for Validation
[src]

impl Into<u32> for Validation
[src]

Performs the conversion.

impl From<u32> for Validation
[src]

Performs the conversion.