pub struct MpcPointResult<C: CurveGroup> { /* private fields */ }
Expand description
Defines a secret shared type of a curve point
Implementations§
Source§impl<C: CurveGroup> MpcPointResult<C>
Defines the result handle type that represents a future result of an
MpcPoint
impl<C: CurveGroup> MpcPointResult<C>
Defines the result handle type that represents a future result of an
MpcPoint
Creates an MpcPoint
from a given underlying point assumed to be a
secret share
Sourcepub fn open(&self) -> CurvePointResult<C>
pub fn open(&self) -> CurvePointResult<C>
Open the value; both parties send their shares to the counterparty
Sourcepub fn open_batch(values: &[MpcPointResult<C>]) -> Vec<CurvePointResult<C>> ⓘ
pub fn open_batch(values: &[MpcPointResult<C>]) -> Vec<CurvePointResult<C>> ⓘ
Open a batch of values
Source§impl<C: CurveGroup> MpcPointResult<C>
impl<C: CurveGroup> MpcPointResult<C>
Sourcepub fn batch_add(
a: &[MpcPointResult<C>],
b: &[MpcPointResult<C>],
) -> Vec<MpcPointResult<C>>
pub fn batch_add( a: &[MpcPointResult<C>], b: &[MpcPointResult<C>], ) -> Vec<MpcPointResult<C>>
Add two batches of values
Sourcepub fn batch_add_public(
a: &[MpcPointResult<C>],
b: &[CurvePointResult<C>],
) -> Vec<MpcPointResult<C>>
pub fn batch_add_public( a: &[MpcPointResult<C>], b: &[CurvePointResult<C>], ) -> Vec<MpcPointResult<C>>
Add a batch of MpcPointResults
to a batch of CurvePointResult
s
Source§impl<C: CurveGroup> MpcPointResult<C>
impl<C: CurveGroup> MpcPointResult<C>
Sourcepub fn batch_sub(
a: &[MpcPointResult<C>],
b: &[MpcPointResult<C>],
) -> Vec<MpcPointResult<C>>
pub fn batch_sub( a: &[MpcPointResult<C>], b: &[MpcPointResult<C>], ) -> Vec<MpcPointResult<C>>
Subtract two batches of values
Sourcepub fn batch_sub_public(
a: &[MpcPointResult<C>],
b: &[CurvePointResult<C>],
) -> Vec<MpcPointResult<C>>
pub fn batch_sub_public( a: &[MpcPointResult<C>], b: &[CurvePointResult<C>], ) -> Vec<MpcPointResult<C>>
Subtract a batch of MpcPointResults
to a batch of CurvePointResult
s
Source§impl<C: CurveGroup> MpcPointResult<C>
impl<C: CurveGroup> MpcPointResult<C>
Sourcepub fn batch_neg(values: &[MpcPointResult<C>]) -> Vec<MpcPointResult<C>>
pub fn batch_neg(values: &[MpcPointResult<C>]) -> Vec<MpcPointResult<C>>
Negate a batch of values
Source§impl<C: CurveGroup> MpcPointResult<C>
impl<C: CurveGroup> MpcPointResult<C>
Sourcepub fn batch_mul(
a: &[MpcScalarResult<C>],
b: &[MpcPointResult<C>],
) -> Vec<MpcPointResult<C>>
pub fn batch_mul( a: &[MpcScalarResult<C>], b: &[MpcPointResult<C>], ) -> Vec<MpcPointResult<C>>
Multiply a batch of MpcPointResult
s with a batch of MpcScalarResult
s
Sourcepub fn batch_mul_public(
a: &[ScalarResult<C>],
b: &[MpcPointResult<C>],
) -> Vec<MpcPointResult<C>>
pub fn batch_mul_public( a: &[ScalarResult<C>], b: &[MpcPointResult<C>], ) -> Vec<MpcPointResult<C>>
Multiply a batch of MpcPointResult
s with a batch of ScalarResult
s
Sourcepub fn batch_mul_generator(a: &[MpcScalarResult<C>]) -> Vec<MpcPointResult<C>>
pub fn batch_mul_generator(a: &[MpcScalarResult<C>]) -> Vec<MpcPointResult<C>>
Multiply a batch of MpcScalarResult
s by the generator
Trait Implementations§
Source§impl<C: CurveGroup> Add<&CurvePoint<C>> for &MpcPointResult<C>
impl<C: CurveGroup> Add<&CurvePoint<C>> for &MpcPointResult<C>
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<&'a CurvePoint<C>> for MpcPointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Add<&'a CurvePoint<C>> for MpcPointResult<C>
lhs owned, rhs borrowed
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<&'a MpcPointResult<C>> for &'a CurvePoint<C>
lhs borrowed, rhs borrowed
impl<'a, C: CurveGroup> Add<&'a MpcPointResult<C>> for &'a CurvePoint<C>
lhs borrowed, rhs borrowed
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<C: CurveGroup> Add<&MpcPointResult<C>> for &MpcPointResult<C>
impl<C: CurveGroup> Add<&MpcPointResult<C>> for &MpcPointResult<C>
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<&'a MpcPointResult<C>> for &'a CurvePointResult<C>
lhs borrowed, rhs borrowed
impl<'a, C: CurveGroup> Add<&'a MpcPointResult<C>> for &'a CurvePointResult<C>
lhs borrowed, rhs borrowed
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<&'a MpcPointResult<C>> for CurvePoint<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Add<&'a MpcPointResult<C>> for CurvePoint<C>
lhs owned, rhs borrowed
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<&'a MpcPointResult<C>> for MpcPointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Add<&'a MpcPointResult<C>> for MpcPointResult<C>
lhs owned, rhs borrowed
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<&'a MpcPointResult<C>> for CurvePointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Add<&'a MpcPointResult<C>> for CurvePointResult<C>
lhs owned, rhs borrowed
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<C: CurveGroup> Add<&ResultHandle<C, CurvePoint<C>>> for &MpcPointResult<C>
impl<C: CurveGroup> Add<&ResultHandle<C, CurvePoint<C>>> for &MpcPointResult<C>
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<&'a ResultHandle<C, CurvePoint<C>>> for MpcPointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Add<&'a ResultHandle<C, CurvePoint<C>>> for MpcPointResult<C>
lhs owned, rhs borrowed
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<CurvePoint<C>> for &'a MpcPointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Add<CurvePoint<C>> for &'a MpcPointResult<C>
lhs borrowed, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<C: CurveGroup> Add<CurvePoint<C>> for MpcPointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Add<CurvePoint<C>> for MpcPointResult<C>
lhs owned, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<MpcPointResult<C>> for &'a CurvePoint<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Add<MpcPointResult<C>> for &'a CurvePoint<C>
lhs borrowed, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<MpcPointResult<C>> for &'a MpcPointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Add<MpcPointResult<C>> for &'a MpcPointResult<C>
lhs borrowed, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<MpcPointResult<C>> for &'a CurvePointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Add<MpcPointResult<C>> for &'a CurvePointResult<C>
lhs borrowed, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<C: CurveGroup> Add<MpcPointResult<C>> for CurvePoint<C>
lhs owned, rhs owned
impl<C: CurveGroup> Add<MpcPointResult<C>> for CurvePoint<C>
lhs owned, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<C: CurveGroup> Add<MpcPointResult<C>> for CurvePointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Add<MpcPointResult<C>> for CurvePointResult<C>
lhs owned, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<'a, C: CurveGroup> Add<ResultHandle<C, CurvePoint<C>>> for &'a MpcPointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Add<ResultHandle<C, CurvePoint<C>>> for &'a MpcPointResult<C>
lhs borrowed, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<C: CurveGroup> Add<ResultHandle<C, CurvePoint<C>>> for MpcPointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Add<ResultHandle<C, CurvePoint<C>>> for MpcPointResult<C>
lhs owned, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<C: CurveGroup> Add for MpcPointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Add for MpcPointResult<C>
lhs owned, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
+
operator.Source§impl<C: Clone + CurveGroup> Clone for MpcPointResult<C>
impl<C: Clone + CurveGroup> Clone for MpcPointResult<C>
Source§fn clone(&self) -> MpcPointResult<C>
fn clone(&self) -> MpcPointResult<C>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl<C: Debug + CurveGroup> Debug for MpcPointResult<C>
impl<C: Debug + CurveGroup> Debug for MpcPointResult<C>
Source§impl<C: CurveGroup> From<ResultHandle<C, CurvePoint<C>>> for MpcPointResult<C>
impl<C: CurveGroup> From<ResultHandle<C, CurvePoint<C>>> for MpcPointResult<C>
Source§fn from(value: CurvePointResult<C>) -> Self
fn from(value: CurvePointResult<C>) -> Self
Source§impl<'a, C: CurveGroup> Mul<&'a MpcPointResult<C>> for &'a MpcScalarResult<C>
lhs borrowed, rhs borrowed
impl<'a, C: CurveGroup> Mul<&'a MpcPointResult<C>> for &'a MpcScalarResult<C>
lhs borrowed, rhs borrowed
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<&'a MpcPointResult<C>> for &'a ScalarResult<C>
lhs borrowed, rhs borrowed
impl<'a, C: CurveGroup> Mul<&'a MpcPointResult<C>> for &'a ScalarResult<C>
lhs borrowed, rhs borrowed
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<&'a MpcPointResult<C>> for &'a Scalar<C>
lhs borrowed, rhs borrowed
impl<'a, C: CurveGroup> Mul<&'a MpcPointResult<C>> for &'a Scalar<C>
lhs borrowed, rhs borrowed
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<&'a MpcPointResult<C>> for MpcScalarResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Mul<&'a MpcPointResult<C>> for MpcScalarResult<C>
lhs owned, rhs borrowed
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<&'a MpcPointResult<C>> for ScalarResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Mul<&'a MpcPointResult<C>> for ScalarResult<C>
lhs owned, rhs borrowed
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<&'a MpcPointResult<C>> for Scalar<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Mul<&'a MpcPointResult<C>> for Scalar<C>
lhs owned, rhs borrowed
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<C: CurveGroup> Mul<&MpcScalarResult<C>> for &MpcPointResult<C>
impl<C: CurveGroup> Mul<&MpcScalarResult<C>> for &MpcPointResult<C>
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<&'a MpcScalarResult<C>> for MpcPointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Mul<&'a MpcScalarResult<C>> for MpcPointResult<C>
lhs owned, rhs borrowed
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<C: CurveGroup> Mul<&ResultHandle<C, Scalar<C>>> for &MpcPointResult<C>
impl<C: CurveGroup> Mul<&ResultHandle<C, Scalar<C>>> for &MpcPointResult<C>
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<&'a ResultHandle<C, Scalar<C>>> for MpcPointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Mul<&'a ResultHandle<C, Scalar<C>>> for MpcPointResult<C>
lhs owned, rhs borrowed
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<C: CurveGroup> Mul<&Scalar<C>> for &MpcPointResult<C>
impl<C: CurveGroup> Mul<&Scalar<C>> for &MpcPointResult<C>
Source§impl<'a, C: CurveGroup> Mul<&'a Scalar<C>> for MpcPointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Mul<&'a Scalar<C>> for MpcPointResult<C>
lhs owned, rhs borrowed
Source§impl<'a, C: CurveGroup> Mul<MpcPointResult<C>> for &'a MpcScalarResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Mul<MpcPointResult<C>> for &'a MpcScalarResult<C>
lhs borrowed, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<MpcPointResult<C>> for &'a ScalarResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Mul<MpcPointResult<C>> for &'a ScalarResult<C>
lhs borrowed, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<MpcPointResult<C>> for &'a Scalar<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Mul<MpcPointResult<C>> for &'a Scalar<C>
lhs borrowed, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<C: CurveGroup> Mul<MpcPointResult<C>> for MpcScalarResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Mul<MpcPointResult<C>> for MpcScalarResult<C>
lhs owned, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<C: CurveGroup> Mul<MpcPointResult<C>> for ScalarResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Mul<MpcPointResult<C>> for ScalarResult<C>
lhs owned, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<C: CurveGroup> Mul<MpcPointResult<C>> for Scalar<C>
lhs owned, rhs owned
impl<C: CurveGroup> Mul<MpcPointResult<C>> for Scalar<C>
lhs owned, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<MpcScalarResult<C>> for &'a MpcPointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Mul<MpcScalarResult<C>> for &'a MpcPointResult<C>
lhs borrowed, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<C: CurveGroup> Mul<MpcScalarResult<C>> for MpcPointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Mul<MpcScalarResult<C>> for MpcPointResult<C>
lhs owned, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<ResultHandle<C, Scalar<C>>> for &'a MpcPointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Mul<ResultHandle<C, Scalar<C>>> for &'a MpcPointResult<C>
lhs borrowed, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<C: CurveGroup> Mul<ResultHandle<C, Scalar<C>>> for MpcPointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Mul<ResultHandle<C, Scalar<C>>> for MpcPointResult<C>
lhs owned, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
*
operator.Source§impl<'a, C: CurveGroup> Mul<Scalar<C>> for &'a MpcPointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Mul<Scalar<C>> for &'a MpcPointResult<C>
lhs borrowed, rhs owned
Source§impl<C: CurveGroup> Mul<Scalar<C>> for MpcPointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Mul<Scalar<C>> for MpcPointResult<C>
lhs owned, rhs owned
Source§impl<C: CurveGroup> Neg for &MpcPointResult<C>
impl<C: CurveGroup> Neg for &MpcPointResult<C>
Source§impl<C: CurveGroup> Neg for MpcPointResult<C>
impl<C: CurveGroup> Neg for MpcPointResult<C>
Source§impl<C: CurveGroup> Sub<&CurvePoint<C>> for &MpcPointResult<C>
impl<C: CurveGroup> Sub<&CurvePoint<C>> for &MpcPointResult<C>
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
-
operator.Source§impl<'a, C: CurveGroup> Sub<&'a CurvePoint<C>> for MpcPointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Sub<&'a CurvePoint<C>> for MpcPointResult<C>
lhs owned, rhs borrowed
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
-
operator.Source§impl<C: CurveGroup> Sub<&MpcPointResult<C>> for &MpcPointResult<C>
impl<C: CurveGroup> Sub<&MpcPointResult<C>> for &MpcPointResult<C>
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
-
operator.Source§impl<'a, C: CurveGroup> Sub<&'a MpcPointResult<C>> for MpcPointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Sub<&'a MpcPointResult<C>> for MpcPointResult<C>
lhs owned, rhs borrowed
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
-
operator.Source§impl<C: CurveGroup> Sub<&ResultHandle<C, CurvePoint<C>>> for &MpcPointResult<C>
impl<C: CurveGroup> Sub<&ResultHandle<C, CurvePoint<C>>> for &MpcPointResult<C>
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
-
operator.Source§impl<'a, C: CurveGroup> Sub<&'a ResultHandle<C, CurvePoint<C>>> for MpcPointResult<C>
lhs owned, rhs borrowed
impl<'a, C: CurveGroup> Sub<&'a ResultHandle<C, CurvePoint<C>>> for MpcPointResult<C>
lhs owned, rhs borrowed
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
-
operator.Source§impl<'a, C: CurveGroup> Sub<CurvePoint<C>> for &'a MpcPointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Sub<CurvePoint<C>> for &'a MpcPointResult<C>
lhs borrowed, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
-
operator.Source§impl<C: CurveGroup> Sub<CurvePoint<C>> for MpcPointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Sub<CurvePoint<C>> for MpcPointResult<C>
lhs owned, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
-
operator.Source§impl<'a, C: CurveGroup> Sub<MpcPointResult<C>> for &'a MpcPointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Sub<MpcPointResult<C>> for &'a MpcPointResult<C>
lhs borrowed, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
-
operator.Source§impl<'a, C: CurveGroup> Sub<ResultHandle<C, CurvePoint<C>>> for &'a MpcPointResult<C>
lhs borrowed, rhs owned
impl<'a, C: CurveGroup> Sub<ResultHandle<C, CurvePoint<C>>> for &'a MpcPointResult<C>
lhs borrowed, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
-
operator.Source§impl<C: CurveGroup> Sub<ResultHandle<C, CurvePoint<C>>> for MpcPointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Sub<ResultHandle<C, CurvePoint<C>>> for MpcPointResult<C>
lhs owned, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
-
operator.Source§impl<C: CurveGroup> Sub for MpcPointResult<C>
lhs owned, rhs owned
impl<C: CurveGroup> Sub for MpcPointResult<C>
lhs owned, rhs owned
Source§type Output = MpcPointResult<C>
type Output = MpcPointResult<C>
-
operator.Auto Trait Implementations§
impl<C> Freeze for MpcPointResult<C>
impl<C> !RefUnwindSafe for MpcPointResult<C>
impl<C> Send for MpcPointResult<C>
impl<C> Sync for MpcPointResult<C>
impl<C> Unpin for MpcPointResult<C>
impl<C> !UnwindSafe for MpcPointResult<C>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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>
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>
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