Struct storage_proofs_porep::stacked::PublicParams [−][src]
pub struct PublicParams<Tree> where
Tree: 'static + MerkleTreeTrait, { pub graph: StackedBucketGraph<Tree::Hasher>, pub layer_challenges: LayerChallenges, // some fields omitted }
Fields
graph: StackedBucketGraph<Tree::Hasher>
layer_challenges: LayerChallenges
Implementations
pub fn new(
graph: StackedBucketGraph<Tree::Hasher>,
layer_challenges: LayerChallenges
) -> Self
[src]Trait Implementations
impl<Tree: Debug> Debug for PublicParams<Tree> where
Tree: 'static + MerkleTreeTrait,
Tree::Hasher: Debug,
[src]
impl<Tree: Debug> Debug for PublicParams<Tree> where
Tree: 'static + MerkleTreeTrait,
Tree::Hasher: Debug,
[src]impl<'a, Tree> From<&'a PublicParams<Tree>> for PublicParams<Tree> where
Tree: MerkleTreeTrait,
[src]
impl<'a, Tree> From<&'a PublicParams<Tree>> for PublicParams<Tree> where
Tree: MerkleTreeTrait,
[src]Performs the conversion.
Auto Trait Implementations
impl<Tree> RefUnwindSafe for PublicParams<Tree> where
Tree: RefUnwindSafe,
<Tree as MerkleTreeTrait>::Hasher: RefUnwindSafe,
impl<Tree> Send for PublicParams<Tree>
impl<Tree> Sync for PublicParams<Tree>
impl<Tree> Unpin for PublicParams<Tree> where
Tree: Unpin,
<Tree as MerkleTreeTrait>::Hasher: Unpin,
impl<Tree> UnwindSafe for PublicParams<Tree> where
Tree: UnwindSafe,
<Tree as MerkleTreeTrait>::Hasher: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V