pub enum ProofInput {
Mixer(Box<MixerProofPayload>),
VAnchor(Box<VAnchorProofPayload>),
}
Variants§
Mixer(Box<MixerProofPayload>)
VAnchor(Box<VAnchorProofPayload>)
Implementations§
Source§impl ProofInput
impl ProofInput
pub fn mixer_input(&self) -> Result<MixerProofPayload, OperationError>
pub fn vanchor_input(&self) -> Result<VAnchorProofPayload, OperationError>
Trait Implementations§
Source§impl Clone for ProofInput
impl Clone for ProofInput
Source§fn clone(&self) -> ProofInput
fn clone(&self) -> ProofInput
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 ProofInput
impl RefUnwindSafe for ProofInput
impl Send for ProofInput
impl Sync for ProofInput
impl Unpin for ProofInput
impl UnwindSafe for ProofInput
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