pub struct JsProvingKeys {
pub pk: Vec<u8>,
pub vk: Vec<u8>,
}
Fields§
§pk: Vec<u8>
§vk: Vec<u8>
Implementations§
Source§impl JsProvingKeys
impl JsProvingKeys
pub fn pk(&self) -> Uint8Array
pub fn vk(&self) -> Uint8Array
Trait Implementations§
Source§impl From<JsProvingKeys> for JsValue
impl From<JsProvingKeys> for JsValue
Source§fn from(value: JsProvingKeys) -> Self
fn from(value: JsProvingKeys) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for JsProvingKeys
impl FromWasmAbi for JsProvingKeys
Source§impl IntoWasmAbi for JsProvingKeys
impl IntoWasmAbi for JsProvingKeys
Source§impl LongRefFromWasmAbi for JsProvingKeys
impl LongRefFromWasmAbi for JsProvingKeys
Source§impl OptionFromWasmAbi for JsProvingKeys
impl OptionFromWasmAbi for JsProvingKeys
Source§impl OptionIntoWasmAbi for JsProvingKeys
impl OptionIntoWasmAbi for JsProvingKeys
Source§impl RefFromWasmAbi for JsProvingKeys
impl RefFromWasmAbi for JsProvingKeys
Source§type Anchor = RcRef<JsProvingKeys>
type Anchor = RcRef<JsProvingKeys>
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 JsProvingKeys
impl RefMutFromWasmAbi for JsProvingKeys
Source§impl TryFromJsValue for JsProvingKeys
impl TryFromJsValue for JsProvingKeys
Source§impl VectorFromWasmAbi for JsProvingKeys
impl VectorFromWasmAbi for JsProvingKeys
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[JsProvingKeys]>
Source§impl VectorIntoJsValue for JsProvingKeys
impl VectorIntoJsValue for JsProvingKeys
fn vector_into_jsvalue(vector: Box<[JsProvingKeys]>) -> JsValue
Source§impl VectorIntoWasmAbi for JsProvingKeys
impl VectorIntoWasmAbi for JsProvingKeys
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[JsProvingKeys]>) -> Self::Abi
Source§impl WasmDescribeVector for JsProvingKeys
impl WasmDescribeVector for JsProvingKeys
impl SupportsConstructor for JsProvingKeys
impl SupportsInstanceProperty for JsProvingKeys
impl SupportsStaticProperty for JsProvingKeys
Auto Trait Implementations§
impl Freeze for JsProvingKeys
impl RefUnwindSafe for JsProvingKeys
impl Send for JsProvingKeys
impl Sync for JsProvingKeys
impl Unpin for JsProvingKeys
impl UnwindSafe for JsProvingKeys
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> 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
.