pub struct JsProofOutput {
pub inner: ProofOutput,
}
Fields§
§inner: ProofOutput
Implementations§
Source§impl JsProofOutput
impl JsProofOutput
pub fn output_protocol(&self) -> Protocol
pub fn mixer_proof(&self) -> Result<MixerProof, OperationError>
pub fn vanchor_proof(&self) -> Result<VAnchorProof, OperationError>
Trait Implementations§
Source§impl Clone for JsProofOutput
impl Clone for JsProofOutput
Source§fn clone(&self) -> JsProofOutput
fn clone(&self) -> JsProofOutput
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 moreSource§impl Debug for JsProofOutput
impl Debug for JsProofOutput
Source§impl From<JsProofOutput> for JsValue
impl From<JsProofOutput> for JsValue
Source§fn from(value: JsProofOutput) -> Self
fn from(value: JsProofOutput) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for JsProofOutput
impl FromWasmAbi for JsProofOutput
Source§impl IntoWasmAbi for JsProofOutput
impl IntoWasmAbi for JsProofOutput
Source§impl LongRefFromWasmAbi for JsProofOutput
impl LongRefFromWasmAbi for JsProofOutput
Source§impl OptionFromWasmAbi for JsProofOutput
impl OptionFromWasmAbi for JsProofOutput
Source§impl OptionIntoWasmAbi for JsProofOutput
impl OptionIntoWasmAbi for JsProofOutput
Source§impl RefFromWasmAbi for JsProofOutput
impl RefFromWasmAbi for JsProofOutput
Source§type Anchor = RcRef<JsProofOutput>
type Anchor = RcRef<JsProofOutput>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for JsProofOutput
impl RefMutFromWasmAbi for JsProofOutput
Source§impl TryFromJsValue for JsProofOutput
impl TryFromJsValue for JsProofOutput
Source§impl VectorFromWasmAbi for JsProofOutput
impl VectorFromWasmAbi for JsProofOutput
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[JsProofOutput]>
Source§impl VectorIntoJsValue for JsProofOutput
impl VectorIntoJsValue for JsProofOutput
fn vector_into_jsvalue(vector: Box<[JsProofOutput]>) -> JsValue
Source§impl VectorIntoWasmAbi for JsProofOutput
impl VectorIntoWasmAbi for JsProofOutput
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[JsProofOutput]>) -> Self::Abi
Source§impl WasmDescribeVector for JsProofOutput
impl WasmDescribeVector for JsProofOutput
impl SupportsConstructor for JsProofOutput
impl SupportsInstanceProperty for JsProofOutput
impl SupportsStaticProperty for JsProofOutput
Auto Trait Implementations§
impl Freeze for JsProofOutput
impl RefUnwindSafe for JsProofOutput
impl Send for JsProofOutput
impl Sync for JsProofOutput
impl Unpin for JsProofOutput
impl UnwindSafe for JsProofOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.