pub struct Sha256HashSuite;Expand description
SHA-256 HashSuite: SHA-256 leaves and a SHA-256 compression function for inner nodes.
Trait Implementations§
Source§impl Clone for Sha256HashSuite
impl Clone for Sha256HashSuite
Source§fn clone(&self) -> Sha256HashSuite
fn clone(&self) -> Sha256HashSuite
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Sha256HashSuite
impl Debug for Sha256HashSuite
Source§impl Default for Sha256HashSuite
impl Default for Sha256HashSuite
Source§fn default() -> Sha256HashSuite
fn default() -> Sha256HashSuite
Returns the “default value” for a type. Read more
Source§impl HashSuite for Sha256HashSuite
impl HashSuite for Sha256HashSuite
Source§type Compression = Sha256Compression
type Compression = Sha256Compression
Sequential 2-to-1 compression used to fold inner Merkle nodes during verification.
Source§type ParLeafHash = ParallelSha256Digest
type ParLeafHash = ParallelSha256Digest
Parallel counterpart of
Self::LeafHash used during proving.Source§type ParCompression = ParallelCompressionAdaptor<Sha256Compression>
type ParCompression = ParallelCompressionAdaptor<Sha256Compression>
Parallel counterpart of
Self::Compression used during proving.Auto Trait Implementations§
impl Freeze for Sha256HashSuite
impl RefUnwindSafe for Sha256HashSuite
impl Send for Sha256HashSuite
impl Sync for Sha256HashSuite
impl Unpin for Sha256HashSuite
impl UnsafeUnpin for Sha256HashSuite
impl UnwindSafe for Sha256HashSuite
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more