Enum trust_dns::rr::dnssec::Algorithm [] [src]

pub enum Algorithm {
    RSASHA1,
    RSASHA256,
    RSASHA1NSEC3SHA1,
    RSASHA512,
}

Variants

DO NOT USE, SHA1 is a compromised hashing function, it is here for backward compatability

DO NOT USE, SHA1 is a compromised hashing function, it is here for backward compatability

Methods

impl Algorithm
[src]

length in bytes that the hash portion of this function will produce

Trait Implementations

impl Clone for Algorithm
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Algorithm
[src]

impl PartialEq for Algorithm
[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 Algorithm
[src]

impl Hash for Algorithm
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl PartialOrd for Algorithm
[src]

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for Algorithm
[src]

This method returns an Ordering between self and other. Read more

impl Debug for Algorithm
[src]

Formats the value using the given formatter.

impl BinSerializable<Algorithm> for Algorithm
[src]

impl FromStr for Algorithm
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more