pub struct Proof<E: Curve, H: Digest> {
pub index: u32,
pub lemmas: Vec<Output<H>>,
pub point: Point<E>,
}Fields§
§index: u32§lemmas: Vec<Output<H>>§point: Point<E>Implementations§
Trait Implementations§
Source§impl<'de, E: Curve, H: Digest> Deserialize<'de> for Proof<E, H>where
Output<H>: Deserialize<'de>,
impl<'de, E: Curve, H: Digest> Deserialize<'de> for Proof<E, H>where
Output<H>: Deserialize<'de>,
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
Auto Trait Implementations§
impl<E, H> Freeze for Proof<E, H>
impl<E, H> RefUnwindSafe for Proof<E, H>where
<E as Curve>::Point: RefUnwindSafe,
<<H as Digest>::OutputSize as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
impl<E, H> Send for Proof<E, H>
impl<E, H> Sync for Proof<E, H>
impl<E, H> Unpin for Proof<E, H>
impl<E, H> UnwindSafe for Proof<E, H>where
<E as Curve>::Point: UnwindSafe,
<<H as Digest>::OutputSize as ArrayLength<u8>>::ArrayType: 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