pub struct Validator { /* private fields */ }Implementations§
Source§impl Validator
impl Validator
pub fn new_as_verifier() -> Validator
pub fn new_as_prover() -> Validator
pub fn get_violations(self) -> Vec<String>
pub fn ingest_message(&mut self, msg: &Message)
pub fn ingest_header(&mut self, header: &CircuitHeader)
pub fn ingest_witness(&mut self, witness: &Witness)
pub fn ingest_constraint_system(&mut self, system: &ConstraintSystem)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Validator
impl RefUnwindSafe for Validator
impl Send for Validator
impl Sync for Validator
impl Unpin for Validator
impl UnwindSafe for Validator
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