[][src]Struct subtle_encoding::hex::Hex

pub struct Hex { /* fields omitted */ }

Hexadecimal Encoding (a.k.a. Base16)

Methods

impl Hex
[src]

Lower case hex: 0-9 a-f

Upper case hex: 0-9 A-F

Trait Implementations

impl Encoding for Hex
[src]

Important traits for Vec<u8>

Encode the given buffer, returning a Vec<u8>

Encode the given slice to a String with this Encoding. Read more

Encode the given slice with this Encoding, writing the result to the supplied io::Write type, returning the number of bytes written or a Error. Read more

Encode self and write it to a file at the given path, returning the resulting File or a Error. Read more

Decode the given buffer, returning a Vec<u8>

Decode the given string-alike type with this Encoding, returning the decoded value or a Error. Read more

Decode the data read from the given io::Read type with this Encoding, returning the decoded value or a Error. Read more

Read a file at the given path, decoding the data it contains using the provided Encoding, returning the decoded value or a Error. Read more

impl PartialEq<Hex> for Hex
[src]

impl Eq for Hex
[src]

impl Ord for Hex
[src]

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialOrd<Hex> for Hex
[src]

impl Debug for Hex
[src]

impl Hash for Hex
[src]

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

impl Copy for Hex
[src]

impl Clone for Hex
[src]

Performs copy-assignment from source. Read more

impl Default for Hex
[src]

Auto Trait Implementations

impl Send for Hex

impl Sync for Hex

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]