pub struct ShimTableGenerator;Expand description
Proof of space table generator.
Shim implementation.
Trait Implementations§
Source§impl Clone for ShimTableGenerator
impl Clone for ShimTableGenerator
Source§impl Debug for ShimTableGenerator
impl Debug for ShimTableGenerator
Source§impl Default for ShimTableGenerator
impl Default for ShimTableGenerator
Source§impl TableGenerator<ShimTable> for ShimTableGenerator
Available on crate feature alloc only.
impl TableGenerator<ShimTable> for ShimTableGenerator
Available on crate feature
alloc only.Source§fn create_proofs(&self, seed: &PosSeed) -> Box<PosProofs>
fn create_proofs(&self, seed: &PosSeed) -> Box<PosProofs>
Create proofs with 32 bytes seed. Read more
Source§fn create_proofs_parallel(&self, seed: &PosSeed) -> Box<PosProofs>
fn create_proofs_parallel(&self, seed: &PosSeed) -> Box<PosProofs>
Almost the same as
Self::create_proofs(), but uses parallelism internally for better
performance and lower latency at the cost of lower CPU efficiency and higher memory usageAuto Trait Implementations§
impl Forget for ShimTableGenerator
impl Freeze for ShimTableGenerator
impl RefUnwindSafe for ShimTableGenerator
impl Send for ShimTableGenerator
impl Sync for ShimTableGenerator
impl Unpin for ShimTableGenerator
impl UnsafeUnpin for ShimTableGenerator
impl UnwindSafe for ShimTableGenerator
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,
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§impl<H> NewMerkleHasherForTreeSize for Hwhere
H: Default,
impl<H> NewMerkleHasherForTreeSize for Hwhere
H: Default,
§fn new_for_tree_size(_num_leaves: u64) -> H
fn new_for_tree_size(_num_leaves: u64) -> H
Create a hasher for a tree with
num_leaves leaves