Struct bitcoin_hashes::sha256::Hash  [−][src]
#[repr(transparent)]pub struct Hash(_);
Expand description
Output of the SHA256 hash function
Trait Implementations
type Engine = HashEngine
type Engine = HashEngineA hashing engine which bytes can be serialized into. It is expected
to implement the io::Write trait, and to never return errors under
any conditions. Read more
Produce a hash from the current state of a given engine
Unwraps the hash and returns the underlying byte array
Unwraps the hash and returns a reference to the underlying byte array
Constructs a hash from the underlying byte array
Flag indicating whether user-visible serializations of this hash
should be backward. For some reason Satoshi decided this should be
true for Sha256dHash, so here we are. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for Hashimpl UnwindSafe for HashBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn from_byte_iter<I>(I) -> Result<T, Error> where
    I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator, 
pub fn from_byte_iter<I>(I) -> Result<T, Error> where
    I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator, Produce an object from a byte iterator