pub struct PreparedPublicKeyG2<E: Pairing>(pub E::G2Prepared);Tuple Fields§
§0: E::G2PreparedTrait Implementations§
Source§impl<E: Pairing> CanonicalDeserialize for PreparedPublicKeyG2<E>
impl<E: Pairing> CanonicalDeserialize for PreparedPublicKeyG2<E>
Source§fn deserialize_with_mode<R: Read>(
reader: R,
compress: Compress,
validate: Validate,
) -> Result<Self, SerializationError>
fn deserialize_with_mode<R: Read>( reader: R, compress: Compress, validate: Validate, ) -> Result<Self, SerializationError>
The general deserialize method that takes in customization flags.
fn deserialize_compressed<R>(reader: R) -> Result<Self, SerializationError>where
R: Read,
fn deserialize_compressed_unchecked<R>(
reader: R,
) -> Result<Self, SerializationError>where
R: Read,
fn deserialize_uncompressed<R>(reader: R) -> Result<Self, SerializationError>where
R: Read,
fn deserialize_uncompressed_unchecked<R>(
reader: R,
) -> Result<Self, SerializationError>where
R: Read,
Source§impl<E: Pairing> CanonicalSerialize for PreparedPublicKeyG2<E>
impl<E: Pairing> CanonicalSerialize for PreparedPublicKeyG2<E>
Source§fn serialize_with_mode<W: Write>(
&self,
writer: W,
compress: Compress,
) -> Result<(), SerializationError>
fn serialize_with_mode<W: Write>( &self, writer: W, compress: Compress, ) -> Result<(), SerializationError>
The general serialize method that takes in customization flags.
fn serialized_size(&self, compress: Compress) -> usize
fn serialize_compressed<W>(&self, writer: W) -> Result<(), SerializationError>where
W: Write,
fn compressed_size(&self) -> usize
fn serialize_uncompressed<W>(&self, writer: W) -> Result<(), SerializationError>where
W: Write,
fn uncompressed_size(&self) -> usize
Source§impl<E: Clone + Pairing> Clone for PreparedPublicKeyG2<E>where
E::G2Prepared: Clone,
impl<E: Clone + Pairing> Clone for PreparedPublicKeyG2<E>where
E::G2Prepared: Clone,
Source§fn clone(&self) -> PreparedPublicKeyG2<E>
fn clone(&self) -> PreparedPublicKeyG2<E>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<E: Debug + Pairing> Debug for PreparedPublicKeyG2<E>where
E::G2Prepared: Debug,
impl<E: Debug + Pairing> Debug for PreparedPublicKeyG2<E>where
E::G2Prepared: Debug,
Source§impl<'de, E: Pairing> Deserialize<'de> for PreparedPublicKeyG2<E>
impl<'de, E: Pairing> Deserialize<'de> for PreparedPublicKeyG2<E>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<E: Pairing> From<PublicKeyG2<E>> for PreparedPublicKeyG2<E>
impl<E: Pairing> From<PublicKeyG2<E>> for PreparedPublicKeyG2<E>
Source§fn from(pk: PublicKeyG2<E>) -> Self
fn from(pk: PublicKeyG2<E>) -> Self
Converts to this type from the input type.
Source§impl<E: PartialEq + Pairing> PartialEq for PreparedPublicKeyG2<E>where
E::G2Prepared: PartialEq,
impl<E: PartialEq + Pairing> PartialEq for PreparedPublicKeyG2<E>where
E::G2Prepared: PartialEq,
Source§impl<E: Pairing> Serialize for PreparedPublicKeyG2<E>
impl<E: Pairing> Serialize for PreparedPublicKeyG2<E>
Source§impl<E: Pairing> Valid for PreparedPublicKeyG2<E>
impl<E: Pairing> Valid for PreparedPublicKeyG2<E>
fn check(&self) -> Result<(), SerializationError>
fn batch_check<'a>(
batch: impl Iterator<Item = &'a Self> + Send,
) -> Result<(), SerializationError>where
Self: 'a,
impl<E: Pairing> StructuralPartialEq for PreparedPublicKeyG2<E>
Auto Trait Implementations§
impl<E> Freeze for PreparedPublicKeyG2<E>
impl<E> RefUnwindSafe for PreparedPublicKeyG2<E>
impl<E> Send for PreparedPublicKeyG2<E>
impl<E> Sync for PreparedPublicKeyG2<E>
impl<E> Unpin for PreparedPublicKeyG2<E>
impl<E> UnwindSafe for PreparedPublicKeyG2<E>
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
Source§impl<T> CanonicalSerializeHashExt for Twhere
T: CanonicalSerialize,
impl<T> CanonicalSerializeHashExt for Twhere
T: CanonicalSerialize,
fn hash<H>(&self) -> GenericArray<u8, <H as OutputSizeUser>::OutputSize>where
H: Digest,
fn hash_uncompressed<H>(
&self,
) -> GenericArray<u8, <H as OutputSizeUser>::OutputSize>where
H: Digest,
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