pub struct PrivateDecryptionContextFast<E: Pairing> {
pub index: usize,
pub setup_params: SetupParams<E>,
pub private_key_share: PrivateKeyShare<E>,
pub public_decryption_contexts: Vec<PublicDecryptionContextFast<E>>,
}Fields§
§index: usize§setup_params: SetupParams<E>§public_decryption_contexts: Vec<PublicDecryptionContextFast<E>>Implementations§
Source§impl<E: Pairing> PrivateDecryptionContextFast<E>
impl<E: Pairing> PrivateDecryptionContextFast<E>
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for PrivateDecryptionContextFast<E>where
<E as Pairing>::ScalarField: Freeze,
<E as Pairing>::G1Affine: Freeze,
<E as Pairing>::G1Prepared: Freeze,
<E as Pairing>::G2Prepared: Freeze,
<E as Pairing>::G2Affine: Freeze,
impl<E> RefUnwindSafe for PrivateDecryptionContextFast<E>where
<E as Pairing>::ScalarField: RefUnwindSafe,
<E as Pairing>::G1Affine: RefUnwindSafe,
<E as Pairing>::G1Prepared: RefUnwindSafe,
<E as Pairing>::G2Prepared: RefUnwindSafe,
<E as Pairing>::G2Affine: RefUnwindSafe,
impl<E> Send for PrivateDecryptionContextFast<E>
impl<E> Sync for PrivateDecryptionContextFast<E>
impl<E> Unpin for PrivateDecryptionContextFast<E>where
<E as Pairing>::ScalarField: Unpin,
<E as Pairing>::G1Affine: Unpin,
<E as Pairing>::G1Prepared: Unpin,
<E as Pairing>::G2Prepared: Unpin,
<E as Pairing>::G2Affine: Unpin,
impl<E> UnsafeUnpin for PrivateDecryptionContextFast<E>where
<E as Pairing>::ScalarField: UnsafeUnpin,
<E as Pairing>::G1Affine: UnsafeUnpin,
<E as Pairing>::G1Prepared: UnsafeUnpin,
<E as Pairing>::G2Prepared: UnsafeUnpin,
<E as Pairing>::G2Affine: UnsafeUnpin,
impl<E> UnwindSafe for PrivateDecryptionContextFast<E>where
<E as Pairing>::ScalarField: UnwindSafe,
<E as Pairing>::G1Affine: UnwindSafe,
<E as Pairing>::G1Prepared: UnwindSafe,
<E as Pairing>::G2Prepared: UnwindSafe,
<E as Pairing>::G2Affine: UnwindSafe,
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
Converts
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> ⓘ
Converts
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