Enum bulletproofs::range_proof_mpc::MPCError [−][src]
Represents an error during the multiparty computation protocol for proof aggregation.
This is a separate type from the ProofError
to allow a layered
API: although the MPC protocol is used internally for single-party
proving, its API should not expose the complexity of the MPC
protocol.
Variants
This error occurs when the dealer gives a zero challenge, which would annihilate the blinding factors.
This error occurs when attempting to create a proof with bitsize other than \(8\), \(16\), \(32\), or \(64\).
This error occurs when attempting to create an aggregated proof with non-power-of-two aggregation size.
This error occurs when there are insufficient generators for the proof.
This error occurs when the dealer is given the wrong number of value commitments.
This error occurs when the dealer is given the wrong number of polynomial commitments.
This error occurs when the dealer is given the wrong number of proof shares.
This error occurs when one or more parties submit malformed proof shares.
Trait Implementations
impl Clone for MPCError
[src]
impl Debug for MPCError
[src]
impl Display for MPCError
[src]
impl Eq for MPCError
[src]
impl Error for MPCError
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<MPCError> for ProofError
[src]
fn from(e: MPCError) -> ProofError
[src]
impl PartialEq<MPCError> for MPCError
[src]
impl StructuralEq for MPCError
[src]
impl StructuralPartialEq for MPCError
[src]
Auto Trait Implementations
impl RefUnwindSafe for MPCError
[src]
impl Send for MPCError
[src]
impl Sync for MPCError
[src]
impl Unpin for MPCError
[src]
impl UnwindSafe for MPCError
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,