Struct bytehash::Wrapped[][src]

pub struct Wrapped<H> { /* fields omitted */ }

Wrapping any Hasher in ByteHash

Trait Implementations

impl<H: Default> Default for Wrapped<H>
[src]

Important traits for Wrapped<H>

Returns the "default value" for a type. Read more

impl<H: Hasher> Write for Wrapped<H>
[src]

Write a buffer into this object, returning how many bytes were written. Read more

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

Attempts to write an entire buffer into this write. Read more

Writes a formatted string into this writer, returning any error encountered. Read more

Creates a "by reference" adaptor for this instance of Write. Read more

impl<H> ByteHash for Wrapped<H> where
    H: Hasher
[src]

The type that is used for the final hash value

Consumes the ByteHash and returns a Digest

Auto Trait Implementations

impl<H> Send for Wrapped<H> where
    H: Send

impl<H> Sync for Wrapped<H> where
    H: Sync