pub struct WasmCore { /* private fields */ }
Implementations§
source§impl WasmCore
impl WasmCore
pub fn new(capacity: usize, recursion_limit: u64) -> WasmCore
pub fn connect_remote_core(&mut self, address: String) -> Result<(), JsValue>
pub fn add_timers(&mut self) -> Result<(), JsValue>
pub fn load_compressed_blocks(&mut self, encoded_miniblocks: String)
pub fn load_sections(
&mut self,
serialized_miniblocks: Vec<u8>
) -> Result<(), JsValue>
pub fn process_transaction(&mut self)
pub fn init(&mut self) -> Result<(), JsValue>
pub fn add_apps(&mut self) -> Result<(), JsValue>
pub fn render(&mut self) -> Result<(), JsValue>
pub fn draw_canvases(&mut self) -> Result<(), JsValue>
Trait Implementations§
source§impl FromWasmAbi for WasmCore
impl FromWasmAbi for WasmCore
source§impl IntoWasmAbi for WasmCore
impl IntoWasmAbi for WasmCore
source§impl OptionFromWasmAbi for WasmCore
impl OptionFromWasmAbi for WasmCore
source§impl OptionIntoWasmAbi for WasmCore
impl OptionIntoWasmAbi for WasmCore
source§impl RefFromWasmAbi for WasmCore
impl RefFromWasmAbi for WasmCore
source§impl RefMutFromWasmAbi for WasmCore
impl RefMutFromWasmAbi for WasmCore
Auto Trait Implementations§
impl !RefUnwindSafe for WasmCore
impl !Send for WasmCore
impl !Sync for WasmCore
impl Unpin for WasmCore
impl !UnwindSafe for WasmCore
Blanket Implementations§
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§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
.