Enum snarkvm_algorithms::traits::snark::SRS
source · Expand description
An abstraction layer to enable a circuit-specific SRS or universal SRS. Forward compatible with future assumptions that proof systems will require.
Variants
CircuitSpecific(&'a mut R)
Universal(&'a T)
Auto Trait Implementations
impl<'a, R, T> RefUnwindSafe for SRS<'a, R, T>where
R: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, R, T> Send for SRS<'a, R, T>where
R: Send,
T: Sync,
impl<'a, R, T> Sync for SRS<'a, R, T>where
R: Sync,
T: Sync,
impl<'a, R, T> Unpin for SRS<'a, R, T>
impl<'a, R, T> !UnwindSafe for SRS<'a, R, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more