pub struct Proof<E: Curve>(pub Scalar<E>);Expand description
The proof that can convince $\V$ that $\P$ knows secret $x$
Tuple Fields§
§0: Scalar<E>Implementations§
Trait Implementations§
Source§impl<'de, E: Curve> Deserialize<'de> for Proof<E>
impl<'de, E: Curve> Deserialize<'de> for Proof<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: Curve> Digestable for Proof<E>
impl<E: Curve> Digestable for Proof<E>
Source§fn unambiguously_encode<B>(&self, encoder: EncodeValue<'_, B>)where
B: Buffer,
fn unambiguously_encode<B>(&self, encoder: EncodeValue<'_, B>)where
B: Buffer,
Unambiguously encodes the value
Auto Trait Implementations§
impl<E> Freeze for Proof<E>
impl<E> RefUnwindSafe for Proof<E>
impl<E> Send for Proof<E>
impl<E> Sync for Proof<E>
impl<E> Unpin for Proof<E>
impl<E> UnwindSafe for Proof<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