Trait bellperson::gadgets::Assignment
source · pub trait Assignment<T> {
// Required method
fn get(&self) -> Result<&T, SynthesisError>;
}
Expand description
This basically is just an extension to Option
which allows for a convenient mapping to an
error on None
.