[][src]Struct storage_proofs::layered_drgporep::PublicParams

pub struct PublicParams<H, G> where
    H: Hasher,
    G: Graph<H> + ParameterSetMetadata
{ pub graph: G, pub sloth_iter: usize, pub layer_challenges: LayerChallenges, // some fields omitted }

Fields

graph: Gsloth_iter: usizelayer_challenges: LayerChallenges

Methods

impl<H, G> PublicParams<H, G> where
    H: Hasher,
    G: Graph<H> + ParameterSetMetadata
[src]

pub fn new(
    graph: G,
    sloth_iter: usize,
    layer_challenges: LayerChallenges
) -> Self
[src]

Trait Implementations

impl<H, G> ParameterSetMetadata for PublicParams<H, G> where
    H: Hasher,
    G: Graph<H> + ParameterSetMetadata
[src]

impl<H: Clone, G: Clone> Clone for PublicParams<H, G> where
    H: Hasher,
    G: Graph<H> + ParameterSetMetadata
[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl<'a, H, G> From<&'a PublicParams<H, G>> for PublicParams<H, G> where
    H: Hasher,
    G: Graph<H> + ParameterSetMetadata
[src]

impl<H: Debug, G: Debug> Debug for PublicParams<H, G> where
    H: Hasher,
    G: Graph<H> + ParameterSetMetadata
[src]

Auto Trait Implementations

impl<H, G> Unpin for PublicParams<H, G> where
    G: Unpin,
    H: Unpin

impl<H, G> Send for PublicParams<H, G> where
    G: Send

impl<H, G> Sync for PublicParams<H, G> where
    G: Sync

impl<H, G> UnwindSafe for PublicParams<H, G> where
    G: UnwindSafe,
    H: UnwindSafe

impl<H, G> RefUnwindSafe for PublicParams<H, G> where
    G: RefUnwindSafe,
    H: RefUnwindSafe

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,