pub struct ZKProofSystem {
pub name: String,
pub is_interactive: bool,
pub soundness_error: f64,
pub completeness_error: f64,
pub proof_size_bytes: Option<usize>,
}Expand description
Zero-knowledge proof system.
Fields§
§name: String§is_interactive: bool§soundness_error: f64§completeness_error: f64§proof_size_bytes: Option<usize>Implementations§
Trait Implementations§
Source§impl Clone for ZKProofSystem
impl Clone for ZKProofSystem
Source§fn clone(&self) -> ZKProofSystem
fn clone(&self) -> ZKProofSystem
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ZKProofSystem
impl RefUnwindSafe for ZKProofSystem
impl Send for ZKProofSystem
impl Sync for ZKProofSystem
impl Unpin for ZKProofSystem
impl UnsafeUnpin for ZKProofSystem
impl UnwindSafe for ZKProofSystem
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