[−]Struct solana_libra_crypto::hash::GENESIS_BLOCK_ID
Genesis block id is used as a parent of the very first block executed by the executor.
Methods from Deref<Target = HashValue>
pub const LENGTH: usize
[src]
pub const LENGTH_IN_BITS: usize
[src]
pub fn to_vec(&self) -> Vec<u8>
[src]
Dumps into a vector.
pub fn is_zero(&self) -> bool
[src]
Check if the hash value is zero.
pub fn last_n_bytes(&self, bytes: usize) -> String
[src]
Get the last n bytes as a String.
ⓘImportant traits for HashValueBitIterator<'a>pub fn iter_bits(&self) -> HashValueBitIterator
[src]
ⓘImportant traits for HashValueBitIterator<'a>
Returns a HashValueBitIterator
over all the bits that represent this HashValue
.
pub fn common_prefix_bits_len(&self, other: HashValue) -> usize
[src]
Returns the length of common prefix of self
and other
in bits.
Trait Implementations
Auto Trait Implementations
impl Sync for GENESIS_BLOCK_ID
impl Send for GENESIS_BLOCK_ID
impl Unpin for GENESIS_BLOCK_ID
impl RefUnwindSafe for GENESIS_BLOCK_ID
impl UnwindSafe for GENESIS_BLOCK_ID
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,