Type Alias zombienet_sdk::PjsResult
source · pub type PjsResult = Result<Value, String>;
Expand description
pjs-rs success Result type
Represent the possible states returned from a successfully call to pjs-rs
Ok(value) -> Deserialized return value into a serde_json::Value Err(msg) -> Execution of the script finish Ok, but the returned value can’t be deserialize into a serde_json::Value
Aliased Type§
enum PjsResult {
Ok(Value),
Err(String),
}