Enum roughenough::Tag [] [src]

pub enum Tag {
    SIG,
    NONC,
    DELE,
    PATH,
    RADI,
    PUBK,
    MIDP,
    SREP,
    MINT,
    ROOT,
    CERT,
    MAXT,
    INDX,
    PAD,
}

An unsigned 32-bit value (key) that maps to a byte-string (value).

Variants

Methods

impl Tag
[src]

[src]

Translates a tag into its on-the-wire representation

[src]

Return the Tag corresponding to the on-the-wire representation in bytes or an Error::InvalidTag if bytes do not correspond to a valid tag.

Trait Implementations

impl Debug for Tag
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Tag
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for Tag
[src]

impl PartialOrd for Tag
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

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

1.0.0
[src]

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

1.0.0
[src]

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

impl Hash for Tag
[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

impl Clone for Tag
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Tag

impl Sync for Tag