[][src]Struct subtle_encoding::identity::Identity

pub struct Identity {}

Encoding which does not transform data and returns the original input.

Trait Implementations

impl Encoding for Identity
[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 Clone for Identity
[src]

Performs copy-assignment from source. Read more

impl Debug for Identity
[src]

impl PartialEq<Identity> for Identity
[src]

This method tests for !=.

impl Eq for Identity
[src]

impl Ord for Identity
[src]

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialOrd<Identity> for Identity
[src]

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 Hash for Identity
[src]

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

impl Copy for Identity
[src]

impl Default for Identity
[src]

Auto Trait Implementations

impl Send for Identity

impl Sync for Identity

Blanket Implementations

impl<T> From for T
[src]

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, 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]