pub struct AVMOutcome {
pub data: Vec<u8>,
pub call_requests: HashMap<u32, CallRequestParams>,
pub next_peer_pks: Vec<String>,
pub memory_delta: usize,
pub execution_time: Duration,
pub soft_limits_triggering: SoftLimitsTriggering,
}
Fields§
§data: Vec<u8>
Contains script data that should be preserved in an executor of this interpreter regardless of ret_code value.
call_requests: HashMap<u32, CallRequestParams>
Collected parameters of all met call instructions that could be executed on a current peer.
next_peer_pks: Vec<String>
Public keys of peers that should receive data.
memory_delta: usize
Memory in bytes AVM linear heap was extended during execution by.
execution_time: Duration
Time of a particle execution (it counts only execution time without operations with DataStore and so on)
soft_limits_triggering: SoftLimitsTriggering
To store and convey soft limits triggering flags.
Implementations§
Source§impl AVMOutcome
impl AVMOutcome
pub fn from_raw_outcome( raw_outcome: RawAVMOutcome, memory_delta: usize, execution_time: Duration, ) -> Result<AVMOutcome, ErrorAVMOutcome>
Trait Implementations§
Source§impl Clone for AVMOutcome
impl Clone for AVMOutcome
Source§fn clone(&self) -> AVMOutcome
fn clone(&self) -> AVMOutcome
Returns a duplicate 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 AVMOutcome
impl Debug for AVMOutcome
Source§impl<'de> Deserialize<'de> for AVMOutcome
impl<'de> Deserialize<'de> for AVMOutcome
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AVMOutcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AVMOutcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AVMOutcome
impl PartialEq for AVMOutcome
Source§impl Serialize for AVMOutcome
impl Serialize for AVMOutcome
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 AVMOutcome
impl StructuralPartialEq for AVMOutcome
Auto Trait Implementations§
impl Freeze for AVMOutcome
impl RefUnwindSafe for AVMOutcome
impl Send for AVMOutcome
impl Sync for AVMOutcome
impl Unpin for AVMOutcome
impl UnwindSafe for AVMOutcome
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
Source§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.Source§fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
Source§fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self
file descriptor. Read moreSource§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more