pub struct ShimTableGenerator;Expand description
Proof of space table generator.
Shim implementation.
Trait Implementations§
Source§impl Clone for ShimTableGenerator
impl Clone for ShimTableGenerator
Source§fn clone(&self) -> ShimTableGenerator
fn clone(&self) -> ShimTableGenerator
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 ShimTableGenerator
impl Debug for ShimTableGenerator
Source§impl Default for ShimTableGenerator
impl Default for ShimTableGenerator
Source§fn default() -> ShimTableGenerator
fn default() -> ShimTableGenerator
Returns the “default value” for a type. Read more
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 Freeze for ShimTableGenerator
impl RefUnwindSafe for ShimTableGenerator
impl Send for ShimTableGenerator
impl Sync for ShimTableGenerator
impl Unpin 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