Struct prio::client::Client[][src]

pub struct Client<F: FieldElement> { /* fields omitted */ }
Expand description

The main object that can be used to create Prio shares

Client is used to create Prio shares.

Implementations

Construct a new Prio client

Construct a pair of encrypted shares based on the input data.

Construct a pair of encrypted shares using a initilization function.

This might be slightly more efficient on large vectors, because one can avoid copying the input data.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.