Enum tripcode::hash::MonaHash [] [src]

pub enum MonaHash {
    Ten(Mona10Hash),
    Twelve(Mona12Hash),
    Error,
}

Hash value that represents a 2channel tripcode.

Variants

Hash value for a 10-character tripcode (10桁トリップ)

Hash value for a 12-character tripcode (12桁トリップ)

Tripcode for undefined password format.

Trait Implementations

impl Copy for MonaHash
[src]

impl Clone for MonaHash
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MonaHash
[src]

Formats the value using the given formatter.

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

impl PartialOrd for MonaHash
[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 MonaHash
[src]

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

impl Hash for MonaHash
[src]

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

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

impl AsciiTripcodeHash for MonaHash
[src]

Decodes an ASCII-encoded tripcode into a hash value.

Returns maximum length of resulting tripcode.

Encodes self into an ASCII-encoded tripcode and writes it on a String.

Encodes self into an ASCII-encoded tripcode and writes it to a Write.

Encodes self into an ASCII-encoded tripcode.