pub fn as_bytes(&self) -> &[u8] {
        match self {
            Hash::Sha256(ref h) => h.as_ref(),
            Hash::None => &[],
        }
    }
/// Borrow the `Hash` as a byte slice
Borrow the `Hash` as a byte slice
Borrow the ` Hash ` as a byte slice
pub fn as_bytes(&self) -> &[u8] {
        match self {
            Hash::Sha256(ref h) => h.as_ref(),
            Hash::None => &[],
        }
    }
pub fn as_bytes ( & self ) -> & [ u8 ] { match self { Hash :: Sha256 ( ref h ) => h . as_ref ( ) , Hash :: None => & [ ] , } }
Borrow the `Hash` as a byte slice
Borrow the ` Hash ` as a byte slice
&self