Enum tripcode::hash::ScHash [] [src]

pub enum ScHash {
    Ten(Mona10Hash),
    Twelve(Mona12Hash),
    Fifteen(Sc15Hash),
    Katakana(ScKatakanaHash),
    Error,
}

Hash value that represents a 2ch.sc tripcode.

Variants

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

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

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

Hash value for a katakana tripcode (カタカナトリップ)

Tripcode for undefined password format.

Trait Implementations

impl Hash for ScHash
[src]

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

Feeds a slice of this type into the state provided.

impl Ord for ScHash
[src]

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

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

impl PartialEq for ScHash
[src]

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

This method tests for !=.

impl Debug for ScHash
[src]

Formats the value using the given formatter.

impl Clone for ScHash
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ScHash
[src]

impl TripcodeHash for ScHash
[src]

Decodes a tripcode into a hash value. Read more

Returns maximum length of resulting tripcode, in bytes.

Returns maximum length of resulting tripcode when encoded in Shift-JIS, in bytes.

Encodes self into a tripcode and appends it on a String.

Encodes self into a tripcode and writes it to a Write.

Decodes a Shift-JIS-encoded tripcode.

Encodes self into a Shift-JIS-encoded tripcode and appends it on a Vec<u8>.

Encodes self into a Shift-JIS-encoded tripcode and writes it to a Write.

Encodes self into a tripcode.

Encodes self into a Shift-JIS-encoded tripcode.