Struct air_test_utils::prelude::avm_runner::RawAVMOutcome
source · pub struct RawAVMOutcome {
pub ret_code: i64,
pub error_message: String,
pub data: Vec<u8, Global>,
pub call_requests: HashMap<u32, CallRequestParams, RandomState>,
pub next_peer_pks: Vec<String, Global>,
}
Expand description
This struct is very similar to AVMOutcome, but keeps error_code and error_msg for test purposes.
Fields§
§ret_code: i64
§error_message: String
§data: Vec<u8, Global>
§call_requests: HashMap<u32, CallRequestParams, RandomState>
§next_peer_pks: Vec<String, Global>
Implementations§
source§impl RawAVMOutcome
impl RawAVMOutcome
pub fn from_interpreter_outcome( outcome: InterpreterOutcome ) -> Result<RawAVMOutcome, CallSeDeErrors>
Trait Implementations§
source§impl Clone for RawAVMOutcome
impl Clone for RawAVMOutcome
source§fn clone(&self) -> RawAVMOutcome
fn clone(&self) -> RawAVMOutcome
Returns a copy 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 RawAVMOutcome
impl Debug for RawAVMOutcome
source§impl<'de> Deserialize<'de> for RawAVMOutcome
impl<'de> Deserialize<'de> for RawAVMOutcome
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<RawAVMOutcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<RawAVMOutcome, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<RawAVMOutcome> for RawAVMOutcome
impl PartialEq<RawAVMOutcome> for RawAVMOutcome
source§fn eq(&self, other: &RawAVMOutcome) -> bool
fn eq(&self, other: &RawAVMOutcome) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RawAVMOutcome
impl Serialize for RawAVMOutcome
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for RawAVMOutcome
impl StructuralEq for RawAVMOutcome
impl StructuralPartialEq for RawAVMOutcome
Auto Trait Implementations§
impl RefUnwindSafe for RawAVMOutcome
impl Send for RawAVMOutcome
impl Sync for RawAVMOutcome
impl Unpin for RawAVMOutcome
impl UnwindSafe for RawAVMOutcome
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where T: AsFilelike,
Query the “status” flags for the
self
file descriptor.