Struct aqua_interpreter_interface::InterpreterOutcome [−][src]
pub struct InterpreterOutcome { pub ret_code: i32, pub error_message: String, pub data: Vec<u8>, pub next_peer_pks: Vec<String>, }
Describes a result returned at the end of the interpreter execution.
Fields
ret_code: i32
A return code, where INTERPRETER_SUCCESS means success.
error_message: String
Contains error message if ret_code != INTERPRETER_SUCCESS.
data: Vec<u8>
Contains script data that should be preserved in an executor of this interpreter regardless of ret_code value.
next_peer_pks: Vec<String>
Public keys of peers that should receive data.
Implementations
Trait Implementations
impl Clone for InterpreterOutcome
[src]
impl Clone for InterpreterOutcome
[src]fn clone(&self) -> InterpreterOutcome
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for InterpreterOutcome
[src]
impl<'de> Deserialize<'de> for InterpreterOutcome
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for InterpreterOutcome
[src]
impl Eq for InterpreterOutcome
[src]impl PartialEq<InterpreterOutcome> for InterpreterOutcome
[src]
impl PartialEq<InterpreterOutcome> for InterpreterOutcome
[src]fn eq(&self, other: &InterpreterOutcome) -> bool
[src]
fn ne(&self, other: &InterpreterOutcome) -> bool
[src]
impl Serialize for InterpreterOutcome
[src]
impl Serialize for InterpreterOutcome
[src]impl StructuralEq for InterpreterOutcome
[src]
impl StructuralEq for InterpreterOutcome
[src]Auto Trait Implementations
impl RefUnwindSafe for InterpreterOutcome
impl RefUnwindSafe for InterpreterOutcome
impl Send for InterpreterOutcome
impl Send for InterpreterOutcome
impl Sync for InterpreterOutcome
impl Sync for InterpreterOutcome
impl Unpin for InterpreterOutcome
impl Unpin for InterpreterOutcome
impl UnwindSafe for InterpreterOutcome
impl UnwindSafe for InterpreterOutcome
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]