pub struct AuthenticatedScalarResult { /* private fields */ }Expand description
A maliciously secure wrapper around an MpcScalarResult, includes a MAC as per the
SPDZ protocol: https://eprint.iacr.org/2011/535.pdf
that ensures security against a malicious adversary
Implementations§
Source§impl AuthenticatedScalarResult
impl AuthenticatedScalarResult
Create a new result from the given shared value
Create a new batch of shared values
Create a nwe shared batch of values from a batch network result
The batch result combines the batch into one result, so it must be split out
first before creating the AuthenticatedScalarResults
Get the raw share as a ScalarResult
Sourcepub fn ids(&self) -> Vec<ResultId> ⓘ
pub fn ids(&self) -> Vec<ResultId> ⓘ
Get the ids of the results that must be awaited before the value is ready
Sourcepub fn open(&self) -> ScalarResult
pub fn open(&self) -> ScalarResult
Open the value without checking its MAC
Sourcepub fn open_batch(values: &[Self]) -> Vec<ScalarResult> ⓘ
pub fn open_batch(values: &[Self]) -> Vec<ScalarResult> ⓘ
Open a batch of values without checking their MACs
Sourcepub fn from_flattened_iterator<I>(iter: I) -> Vec<Self>
pub fn from_flattened_iterator<I>(iter: I) -> Vec<Self>
Convert a flattened iterator into a batch of AuthenticatedScalarResults
We assume that the iterator has been flattened in the same way order that Self::ids returns
the AuthenticatedScalar’s values: [share, mac, public_modifier]
Sourcepub fn verify_mac_check(
my_mac_share: Scalar,
peer_mac_share: Scalar,
peer_mac_commitment: StarkPoint,
peer_commitment_blinder: Scalar,
) -> bool
pub fn verify_mac_check( my_mac_share: Scalar, peer_mac_share: Scalar, peer_mac_commitment: StarkPoint, peer_commitment_blinder: Scalar, ) -> bool
Check the commitment to a MAC check and that the MAC checks sum to zero
Sourcepub fn open_authenticated(&self) -> AuthenticatedScalarOpenResult ⓘ
pub fn open_authenticated(&self) -> AuthenticatedScalarOpenResult ⓘ
Open the value and check its MAC
This follows the protocol detailed in: https://securecomputation.org/docs/pragmaticmpc.pdf Section 6.6.2
Sourcepub fn open_authenticated_batch(
values: &[Self],
) -> Vec<AuthenticatedScalarOpenResult>
pub fn open_authenticated_batch( values: &[Self], ) -> Vec<AuthenticatedScalarOpenResult>
Open a batch of values and check their MACs
Source§impl AuthenticatedScalarResult
impl AuthenticatedScalarResult
Sourcepub fn batch_add(
a: &[AuthenticatedScalarResult],
b: &[AuthenticatedScalarResult],
) -> Vec<AuthenticatedScalarResult>
pub fn batch_add( a: &[AuthenticatedScalarResult], b: &[AuthenticatedScalarResult], ) -> Vec<AuthenticatedScalarResult>
Add two batches of AuthenticatedScalarResults
Sourcepub fn batch_add_public(
a: &[AuthenticatedScalarResult],
b: &[ScalarResult],
) -> Vec<AuthenticatedScalarResult>
pub fn batch_add_public( a: &[AuthenticatedScalarResult], b: &[ScalarResult], ) -> Vec<AuthenticatedScalarResult>
Add a batch of AuthenticatedScalarResults to a batch of ScalarResults
Source§impl AuthenticatedScalarResult
impl AuthenticatedScalarResult
Sourcepub fn batch_sub(
a: &[AuthenticatedScalarResult],
b: &[AuthenticatedScalarResult],
) -> Vec<AuthenticatedScalarResult>
pub fn batch_sub( a: &[AuthenticatedScalarResult], b: &[AuthenticatedScalarResult], ) -> Vec<AuthenticatedScalarResult>
Add two batches of AuthenticatedScalarResults
Sourcepub fn batch_sub_public(
a: &[AuthenticatedScalarResult],
b: &[ScalarResult],
) -> Vec<AuthenticatedScalarResult>
pub fn batch_sub_public( a: &[AuthenticatedScalarResult], b: &[ScalarResult], ) -> Vec<AuthenticatedScalarResult>
Subtract a batch of ScalarResults from a batch of AuthenticatedScalarResults
Source§impl AuthenticatedScalarResult
impl AuthenticatedScalarResult
Sourcepub fn batch_neg(
a: &[AuthenticatedScalarResult],
) -> Vec<AuthenticatedScalarResult>
pub fn batch_neg( a: &[AuthenticatedScalarResult], ) -> Vec<AuthenticatedScalarResult>
Negate a batch of AuthenticatedScalarResults
Source§impl AuthenticatedScalarResult
impl AuthenticatedScalarResult
Sourcepub fn batch_mul(
a: &[AuthenticatedScalarResult],
b: &[AuthenticatedScalarResult],
) -> Vec<AuthenticatedScalarResult>
pub fn batch_mul( a: &[AuthenticatedScalarResult], b: &[AuthenticatedScalarResult], ) -> Vec<AuthenticatedScalarResult>
Multiply a batch of values using the Beaver trick
Sourcepub fn batch_mul_public(
a: &[AuthenticatedScalarResult],
b: &[ScalarResult],
) -> Vec<AuthenticatedScalarResult>
pub fn batch_mul_public( a: &[AuthenticatedScalarResult], b: &[ScalarResult], ) -> Vec<AuthenticatedScalarResult>
Multiply a batch of AuthenticatedScalarResults by a batch of ScalarResults
Trait Implementations§
Source§impl Add<&AuthenticatedScalarResult> for &AuthenticatedScalarResult
impl Add<&AuthenticatedScalarResult> for &AuthenticatedScalarResult
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
+ operator.Source§impl<'a> Add<&'a AuthenticatedScalarResult> for &'a ScalarResult
lhs borrowed, rhs borrowed
impl<'a> Add<&'a AuthenticatedScalarResult> for &'a ScalarResult
lhs borrowed, rhs borrowed
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
+ operator.Source§impl<'a> Add<&'a AuthenticatedScalarResult> for &'a Scalar
lhs borrowed, rhs borrowed
impl<'a> Add<&'a AuthenticatedScalarResult> for &'a Scalar
lhs borrowed, rhs borrowed
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
+ operator.Source§impl<'a> Add<&'a AuthenticatedScalarResult> for AuthenticatedScalarResult
lhs owned, rhs borrowed
impl<'a> Add<&'a AuthenticatedScalarResult> for AuthenticatedScalarResult
lhs owned, rhs borrowed
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
+ operator.Source§impl<'a> Add<&'a AuthenticatedScalarResult> for ScalarResult
lhs owned, rhs borrowed
impl<'a> Add<&'a AuthenticatedScalarResult> for ScalarResult
lhs owned, rhs borrowed
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
+ operator.Source§impl<'a> Add<&'a AuthenticatedScalarResult> for Scalar
lhs owned, rhs borrowed
impl<'a> Add<&'a AuthenticatedScalarResult> for Scalar
lhs owned, rhs borrowed
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
+ operator.Source§impl Add<&ResultHandle<Scalar>> for &AuthenticatedScalarResult
impl Add<&ResultHandle<Scalar>> for &AuthenticatedScalarResult
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
+ operator.Source§impl<'a> Add<&'a ResultHandle<Scalar>> for AuthenticatedScalarResult
lhs owned, rhs borrowed
impl<'a> Add<&'a ResultHandle<Scalar>> for AuthenticatedScalarResult
lhs owned, rhs borrowed
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
+ operator.Source§impl Add<&Scalar> for &AuthenticatedScalarResult
impl Add<&Scalar> for &AuthenticatedScalarResult
Source§impl<'a> Add<&'a Scalar> for AuthenticatedScalarResult
lhs owned, rhs borrowed
impl<'a> Add<&'a Scalar> for AuthenticatedScalarResult
lhs owned, rhs borrowed
Source§impl<'a> Add<AuthenticatedScalarResult> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
impl<'a> Add<AuthenticatedScalarResult> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
+ operator.Source§impl<'a> Add<AuthenticatedScalarResult> for &'a ScalarResult
lhs borrowed, rhs owned
impl<'a> Add<AuthenticatedScalarResult> for &'a ScalarResult
lhs borrowed, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
+ operator.Source§impl<'a> Add<AuthenticatedScalarResult> for &'a Scalar
lhs borrowed, rhs owned
impl<'a> Add<AuthenticatedScalarResult> for &'a Scalar
lhs borrowed, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
+ operator.Source§impl Add<AuthenticatedScalarResult> for ScalarResult
lhs owned, rhs owned
impl Add<AuthenticatedScalarResult> for ScalarResult
lhs owned, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
+ operator.Source§impl Add<AuthenticatedScalarResult> for Scalar
lhs owned, rhs owned
impl Add<AuthenticatedScalarResult> for Scalar
lhs owned, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
+ operator.Source§impl<'a> Add<ResultHandle<Scalar>> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
impl<'a> Add<ResultHandle<Scalar>> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
+ operator.Source§impl Add<ResultHandle<Scalar>> for AuthenticatedScalarResult
lhs owned, rhs owned
impl Add<ResultHandle<Scalar>> for AuthenticatedScalarResult
lhs owned, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
+ operator.Source§impl<'a> Add<Scalar> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
impl<'a> Add<Scalar> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
Source§impl Add<Scalar> for AuthenticatedScalarResult
lhs owned, rhs owned
impl Add<Scalar> for AuthenticatedScalarResult
lhs owned, rhs owned
Source§impl Add for AuthenticatedScalarResult
lhs owned, rhs owned
impl Add for AuthenticatedScalarResult
lhs owned, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
+ operator.Source§impl Clone for AuthenticatedScalarResult
impl Clone for AuthenticatedScalarResult
Source§fn clone(&self) -> AuthenticatedScalarResult
fn clone(&self) -> AuthenticatedScalarResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AuthenticatedScalarResult
impl Debug for AuthenticatedScalarResult
Source§impl Mul<&AuthenticatedScalarResult> for &AuthenticatedScalarResult
impl Mul<&AuthenticatedScalarResult> for &AuthenticatedScalarResult
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
* operator.Source§impl Mul<&AuthenticatedScalarResult> for &AuthenticatedStarkPointResult
impl Mul<&AuthenticatedScalarResult> for &AuthenticatedStarkPointResult
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§fn mul(self, rhs: &AuthenticatedScalarResult) -> AuthenticatedStarkPointResult
fn mul(self, rhs: &AuthenticatedScalarResult) -> AuthenticatedStarkPointResult
* operation. Read moreSource§impl<'a> Mul<&'a AuthenticatedScalarResult> for &'a ScalarResult
lhs borrowed, rhs borrowed
impl<'a> Mul<&'a AuthenticatedScalarResult> for &'a ScalarResult
lhs borrowed, rhs borrowed
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
* operator.Source§impl Mul<&AuthenticatedScalarResult> for &StarkPointResult
impl Mul<&AuthenticatedScalarResult> for &StarkPointResult
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl<'a> Mul<&'a AuthenticatedScalarResult> for &'a Scalar
lhs borrowed, rhs borrowed
impl<'a> Mul<&'a AuthenticatedScalarResult> for &'a Scalar
lhs borrowed, rhs borrowed
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
* operator.Source§impl Mul<&AuthenticatedScalarResult> for &StarkPoint
impl Mul<&AuthenticatedScalarResult> for &StarkPoint
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl<'a> Mul<&'a AuthenticatedScalarResult> for AuthenticatedScalarResult
lhs owned, rhs borrowed
impl<'a> Mul<&'a AuthenticatedScalarResult> for AuthenticatedScalarResult
lhs owned, rhs borrowed
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
* operator.Source§impl<'a> Mul<&'a AuthenticatedScalarResult> for AuthenticatedStarkPointResult
lhs owned, rhs borrowed
impl<'a> Mul<&'a AuthenticatedScalarResult> for AuthenticatedStarkPointResult
lhs owned, rhs borrowed
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl<'a> Mul<&'a AuthenticatedScalarResult> for ScalarResult
lhs owned, rhs borrowed
impl<'a> Mul<&'a AuthenticatedScalarResult> for ScalarResult
lhs owned, rhs borrowed
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
* operator.Source§impl<'a> Mul<&'a AuthenticatedScalarResult> for StarkPointResult
lhs owned, rhs borrowed
impl<'a> Mul<&'a AuthenticatedScalarResult> for StarkPointResult
lhs owned, rhs borrowed
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl<'a> Mul<&'a AuthenticatedScalarResult> for Scalar
lhs owned, rhs borrowed
impl<'a> Mul<&'a AuthenticatedScalarResult> for Scalar
lhs owned, rhs borrowed
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
* operator.Source§impl<'a> Mul<&'a AuthenticatedStarkPointResult> for &'a AuthenticatedScalarResult
lhs borrowed, rhs borrowed
impl<'a> Mul<&'a AuthenticatedStarkPointResult> for &'a AuthenticatedScalarResult
lhs borrowed, rhs borrowed
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl<'a> Mul<&'a AuthenticatedStarkPointResult> for AuthenticatedScalarResult
lhs owned, rhs borrowed
impl<'a> Mul<&'a AuthenticatedStarkPointResult> for AuthenticatedScalarResult
lhs owned, rhs borrowed
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl Mul<&ResultHandle<Scalar>> for &AuthenticatedScalarResult
impl Mul<&ResultHandle<Scalar>> for &AuthenticatedScalarResult
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
* operator.Source§impl<'a> Mul<&'a ResultHandle<Scalar>> for AuthenticatedScalarResult
lhs owned, rhs borrowed
impl<'a> Mul<&'a ResultHandle<Scalar>> for AuthenticatedScalarResult
lhs owned, rhs borrowed
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
* operator.Source§impl<'a> Mul<&'a ResultHandle<StarkPoint>> for &'a AuthenticatedScalarResult
lhs borrowed, rhs borrowed
impl<'a> Mul<&'a ResultHandle<StarkPoint>> for &'a AuthenticatedScalarResult
lhs borrowed, rhs borrowed
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl<'a> Mul<&'a ResultHandle<StarkPoint>> for AuthenticatedScalarResult
lhs owned, rhs borrowed
impl<'a> Mul<&'a ResultHandle<StarkPoint>> for AuthenticatedScalarResult
lhs owned, rhs borrowed
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl Mul<&Scalar> for &AuthenticatedScalarResult
impl Mul<&Scalar> for &AuthenticatedScalarResult
Source§impl<'a> Mul<&'a Scalar> for AuthenticatedScalarResult
lhs owned, rhs borrowed
impl<'a> Mul<&'a Scalar> for AuthenticatedScalarResult
lhs owned, rhs borrowed
Source§impl<'a> Mul<&'a StarkPoint> for &'a AuthenticatedScalarResult
lhs borrowed, rhs borrowed
impl<'a> Mul<&'a StarkPoint> for &'a AuthenticatedScalarResult
lhs borrowed, rhs borrowed
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl<'a> Mul<&'a StarkPoint> for AuthenticatedScalarResult
lhs owned, rhs borrowed
impl<'a> Mul<&'a StarkPoint> for AuthenticatedScalarResult
lhs owned, rhs borrowed
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl<'a> Mul<AuthenticatedScalarResult> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
impl<'a> Mul<AuthenticatedScalarResult> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
* operator.Source§impl<'a> Mul<AuthenticatedScalarResult> for &'a AuthenticatedStarkPointResult
lhs borrowed, rhs owned
impl<'a> Mul<AuthenticatedScalarResult> for &'a AuthenticatedStarkPointResult
lhs borrowed, rhs owned
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl<'a> Mul<AuthenticatedScalarResult> for &'a ScalarResult
lhs borrowed, rhs owned
impl<'a> Mul<AuthenticatedScalarResult> for &'a ScalarResult
lhs borrowed, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
* operator.Source§impl<'a> Mul<AuthenticatedScalarResult> for &'a StarkPointResult
lhs borrowed, rhs owned
impl<'a> Mul<AuthenticatedScalarResult> for &'a StarkPointResult
lhs borrowed, rhs owned
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl<'a> Mul<AuthenticatedScalarResult> for &'a Scalar
lhs borrowed, rhs owned
impl<'a> Mul<AuthenticatedScalarResult> for &'a Scalar
lhs borrowed, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
* operator.Source§impl Mul<AuthenticatedScalarResult> for AuthenticatedStarkPointResult
lhs owned, rhs owned
impl Mul<AuthenticatedScalarResult> for AuthenticatedStarkPointResult
lhs owned, rhs owned
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl Mul<AuthenticatedScalarResult> for ScalarResult
lhs owned, rhs owned
impl Mul<AuthenticatedScalarResult> for ScalarResult
lhs owned, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
* operator.Source§impl Mul<AuthenticatedScalarResult> for StarkPointResult
lhs owned, rhs owned
impl Mul<AuthenticatedScalarResult> for StarkPointResult
lhs owned, rhs owned
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl Mul<AuthenticatedScalarResult> for Scalar
lhs owned, rhs owned
impl Mul<AuthenticatedScalarResult> for Scalar
lhs owned, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
* operator.Source§impl<'a> Mul<AuthenticatedStarkPointResult> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
impl<'a> Mul<AuthenticatedStarkPointResult> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl Mul<AuthenticatedStarkPointResult> for AuthenticatedScalarResult
lhs owned, rhs owned
impl Mul<AuthenticatedStarkPointResult> for AuthenticatedScalarResult
lhs owned, rhs owned
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl<'a> Mul<ResultHandle<Scalar>> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
impl<'a> Mul<ResultHandle<Scalar>> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
* operator.Source§impl Mul<ResultHandle<Scalar>> for AuthenticatedScalarResult
lhs owned, rhs owned
impl Mul<ResultHandle<Scalar>> for AuthenticatedScalarResult
lhs owned, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
* operator.Source§impl<'a> Mul<ResultHandle<StarkPoint>> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
impl<'a> Mul<ResultHandle<StarkPoint>> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl Mul<ResultHandle<StarkPoint>> for AuthenticatedScalarResult
lhs owned, rhs owned
impl Mul<ResultHandle<StarkPoint>> for AuthenticatedScalarResult
lhs owned, rhs owned
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl<'a> Mul<Scalar> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
impl<'a> Mul<Scalar> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
Source§impl Mul<Scalar> for AuthenticatedScalarResult
lhs owned, rhs owned
impl Mul<Scalar> for AuthenticatedScalarResult
lhs owned, rhs owned
Source§impl<'a> Mul<StarkPoint> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
impl<'a> Mul<StarkPoint> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl Mul<StarkPoint> for AuthenticatedScalarResult
lhs owned, rhs owned
impl Mul<StarkPoint> for AuthenticatedScalarResult
lhs owned, rhs owned
Source§type Output = AuthenticatedStarkPointResult
type Output = AuthenticatedStarkPointResult
* operator.Source§impl Mul for AuthenticatedScalarResult
lhs owned, rhs owned
impl Mul for AuthenticatedScalarResult
lhs owned, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
* operator.Source§impl Neg for &AuthenticatedScalarResult
impl Neg for &AuthenticatedScalarResult
Source§impl Neg for AuthenticatedScalarResult
impl Neg for AuthenticatedScalarResult
Source§impl Sub<&AuthenticatedScalarResult> for &AuthenticatedScalarResult
impl Sub<&AuthenticatedScalarResult> for &AuthenticatedScalarResult
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
- operator.Source§impl Sub<&AuthenticatedScalarResult> for &ScalarResult
impl Sub<&AuthenticatedScalarResult> for &ScalarResult
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
- operator.Source§impl Sub<&AuthenticatedScalarResult> for &Scalar
impl Sub<&AuthenticatedScalarResult> for &Scalar
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
- operator.Source§impl<'a> Sub<&'a AuthenticatedScalarResult> for AuthenticatedScalarResult
lhs owned, rhs borrowed
impl<'a> Sub<&'a AuthenticatedScalarResult> for AuthenticatedScalarResult
lhs owned, rhs borrowed
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
- operator.Source§impl<'a> Sub<&'a AuthenticatedScalarResult> for ScalarResult
lhs owned, rhs borrowed
impl<'a> Sub<&'a AuthenticatedScalarResult> for ScalarResult
lhs owned, rhs borrowed
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
- operator.Source§impl<'a> Sub<&'a AuthenticatedScalarResult> for Scalar
lhs owned, rhs borrowed
impl<'a> Sub<&'a AuthenticatedScalarResult> for Scalar
lhs owned, rhs borrowed
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
- operator.Source§impl Sub<&ResultHandle<Scalar>> for &AuthenticatedScalarResult
impl Sub<&ResultHandle<Scalar>> for &AuthenticatedScalarResult
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
- operator.Source§impl<'a> Sub<&'a ResultHandle<Scalar>> for AuthenticatedScalarResult
lhs owned, rhs borrowed
impl<'a> Sub<&'a ResultHandle<Scalar>> for AuthenticatedScalarResult
lhs owned, rhs borrowed
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
- operator.Source§impl Sub<&Scalar> for &AuthenticatedScalarResult
impl Sub<&Scalar> for &AuthenticatedScalarResult
Source§impl<'a> Sub<&'a Scalar> for AuthenticatedScalarResult
lhs owned, rhs borrowed
impl<'a> Sub<&'a Scalar> for AuthenticatedScalarResult
lhs owned, rhs borrowed
Source§impl<'a> Sub<AuthenticatedScalarResult> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
impl<'a> Sub<AuthenticatedScalarResult> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
- operator.Source§impl<'a> Sub<AuthenticatedScalarResult> for &'a ScalarResult
lhs borrowed, rhs owned
impl<'a> Sub<AuthenticatedScalarResult> for &'a ScalarResult
lhs borrowed, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
- operator.Source§impl<'a> Sub<AuthenticatedScalarResult> for &'a Scalar
lhs borrowed, rhs owned
impl<'a> Sub<AuthenticatedScalarResult> for &'a Scalar
lhs borrowed, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
- operator.Source§impl Sub<AuthenticatedScalarResult> for ScalarResult
lhs owned, rhs owned
impl Sub<AuthenticatedScalarResult> for ScalarResult
lhs owned, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
- operator.Source§impl Sub<AuthenticatedScalarResult> for Scalar
lhs owned, rhs owned
impl Sub<AuthenticatedScalarResult> for Scalar
lhs owned, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
- operator.Source§impl<'a> Sub<ResultHandle<Scalar>> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
impl<'a> Sub<ResultHandle<Scalar>> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
- operator.Source§impl Sub<ResultHandle<Scalar>> for AuthenticatedScalarResult
lhs owned, rhs owned
impl Sub<ResultHandle<Scalar>> for AuthenticatedScalarResult
lhs owned, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
- operator.Source§impl<'a> Sub<Scalar> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
impl<'a> Sub<Scalar> for &'a AuthenticatedScalarResult
lhs borrowed, rhs owned
Source§impl Sub<Scalar> for AuthenticatedScalarResult
lhs owned, rhs owned
impl Sub<Scalar> for AuthenticatedScalarResult
lhs owned, rhs owned
Source§impl Sub for AuthenticatedScalarResult
lhs owned, rhs owned
impl Sub for AuthenticatedScalarResult
lhs owned, rhs owned
Source§type Output = AuthenticatedScalarResult
type Output = AuthenticatedScalarResult
- operator.Auto Trait Implementations§
impl Freeze for AuthenticatedScalarResult
impl !RefUnwindSafe for AuthenticatedScalarResult
impl Send for AuthenticatedScalarResult
impl Sync for AuthenticatedScalarResult
impl Unpin for AuthenticatedScalarResult
impl !UnwindSafe for AuthenticatedScalarResult
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