Rust
Contract Dev as Backend
eWasm
Executor
.rs
eWasm
Executor
.rs
Result
Option
operate on Bytes32
pub enum CallResult { Successful, Failure, Revert, Unknown, }
pub enum CallError { Failure, Revert, Unknown, }
fn call() -> CallResult;
fn call() -> Result<(), CallError>;
Please read things behind the wordings!
eWasm
WasmEdge
.rs
ewasm-rust-api
Result
Option
Error
like handle KV db
match your funtion
Rust style result
structure
bytes
string
store without touching Bytes32
There are also help want issues and good first issues