[−][src]Struct groestlcoin::hash_types::BlockHash
A groestlcoin block hash.
Implementations
impl BlockHash
[src]
Trait Implementations
impl AsRef<[u8]> for BlockHash
[src]
impl BitcoinHash<BlockHash> for BlockHeader
[src]
fn bitcoin_hash(&self) -> BlockHash
[src]
impl BitcoinHash<BlockHash> for Block
[src]
fn bitcoin_hash(&self) -> BlockHash
[src]
impl Borrow<[u8]> for BlockHash
[src]
impl Clone for BlockHash
[src]
impl Copy for BlockHash
[src]
impl Debug for BlockHash
[src]
impl Decodable for BlockHash
[src]
fn consensus_decode<D: Read>(d: D) -> Result<Self, Error>
[src]
impl Default for BlockHash
[src]
impl Deref for BlockHash
[src]
impl Display for BlockHash
[src]
impl Encodable for BlockHash
[src]
impl Eq for BlockHash
[src]
impl From<BlockHash> for Hash
[src]
impl From<BlockHash> for Hash
[src]
impl From<Hash> for BlockHash
[src]
impl Hash for BlockHash
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Hash for BlockHash
[src]
type Engine = <Hash as Hash>::Engine
A 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
type Inner = <Hash as Hash>::Inner
The byte array that represents the hash internally
const LEN: usize
[src]
const DISPLAY_BACKWARD: bool
[src]
fn from_engine(e: Self::Engine) -> Self
[src]
fn from_slice(sl: &[u8]) -> Result<BlockHash, Error>
[src]
fn from_inner(inner: Self::Inner) -> Self
[src]
fn into_inner(self) -> Self::Inner
[src]
fn engine() -> Self::Engine
[src]
fn hash(data: &[u8]) -> Self
[src]
impl Index<Range<usize>> for BlockHash
[src]
type Output = [u8]
The returned type after indexing.
fn index(&self, index: Range<usize>) -> &[u8]
[src]
impl Index<RangeFrom<usize>> for BlockHash
[src]
type Output = [u8]
The returned type after indexing.
fn index(&self, index: RangeFrom<usize>) -> &[u8]
[src]
impl Index<RangeFull> for BlockHash
[src]
impl Index<RangeTo<usize>> for BlockHash
[src]
type Output = [u8]
The returned type after indexing.
fn index(&self, index: RangeTo<usize>) -> &[u8]
[src]
impl Index<usize> for BlockHash
[src]
impl LowerHex for BlockHash
[src]
impl Ord for BlockHash
[src]
fn cmp(&self, other: &BlockHash) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<BlockHash> for BlockHash
[src]
impl PartialOrd<BlockHash> for BlockHash
[src]
fn partial_cmp(&self, other: &BlockHash) -> Option<Ordering>
[src]
fn lt(&self, other: &BlockHash) -> bool
[src]
fn le(&self, other: &BlockHash) -> bool
[src]
fn gt(&self, other: &BlockHash) -> bool
[src]
fn ge(&self, other: &BlockHash) -> bool
[src]
impl StructuralEq for BlockHash
[src]
impl StructuralPartialEq for BlockHash
[src]
Auto Trait Implementations
impl RefUnwindSafe for BlockHash
impl Send for BlockHash
impl Sync for BlockHash
impl Unpin for BlockHash
impl UnwindSafe for BlockHash
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Base32Len for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
fn base32_len(&self) -> usize
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<'f, T> CheckBase32<Vec<u5>> for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
type Err = Error
Error type if conversion fails
fn check_base32(self) -> Result<Vec<u5>, <T as CheckBase32<Vec<u5>>>::Err>
[src]
impl<T> From<T> for T
[src]
impl<T> FromHex for T where
T: Hash,
[src]
T: Hash,
fn from_byte_iter<I>(iter: I) -> Result<T, Error> where
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
[src]
I: Iterator<Item = Result<u8, Error>> + ExactSizeIterator + DoubleEndedIterator,
fn from_hex(s: &str) -> Result<Self, Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToBase32 for T where
T: AsRef<[u8]>,
[src]
T: AsRef<[u8]>,
fn write_base32<W>(&self, writer: &mut W) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
[src]
W: WriteBase32,
fn to_base32(&self) -> Vec<u5>
[src]
impl<T> ToHex for T where
T: LowerHex,
[src]
T: LowerHex,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,