Struct air_test_utils::prelude::AnomalyData
pub struct AnomalyData<'data> {
pub air_script: Cow<'data, str>,
pub particle: Cow<'data, [u8]>,
pub prev_data: Cow<'data, [u8]>,
pub current_data: Cow<'data, [u8]>,
pub call_results: Cow<'data, [u8]>,
pub avm_outcome: Cow<'data, [u8]>,
pub execution_time: Duration,
pub memory_delta: usize,
}
Fields§
§air_script: Cow<'data, str>
§particle: Cow<'data, [u8]>
§prev_data: Cow<'data, [u8]>
§current_data: Cow<'data, [u8]>
§call_results: Cow<'data, [u8]>
§avm_outcome: Cow<'data, [u8]>
§execution_time: Duration
§memory_delta: usize
Implementations§
Trait Implementations§
§impl<'data> Clone for AnomalyData<'data>
impl<'data> Clone for AnomalyData<'data>
§fn clone(&self) -> AnomalyData<'data>
fn clone(&self) -> AnomalyData<'data>
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 more§impl<'data> Debug for AnomalyData<'data>
impl<'data> Debug for AnomalyData<'data>
§impl<'de, 'data> Deserialize<'de> for AnomalyData<'data>where
'de: 'data,
impl<'de, 'data> Deserialize<'de> for AnomalyData<'data>where 'de: 'data,
§fn deserialize<__D>(
__deserializer: __D
) -> Result<AnomalyData<'data>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<AnomalyData<'data>, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl<'data> PartialEq<AnomalyData<'data>> for AnomalyData<'data>
impl<'data> PartialEq<AnomalyData<'data>> for AnomalyData<'data>
§fn eq(&self, other: &AnomalyData<'data>) -> bool
fn eq(&self, other: &AnomalyData<'data>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl<'data> Serialize for AnomalyData<'data>
impl<'data> Serialize for AnomalyData<'data>
§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<'data> Eq for AnomalyData<'data>
impl<'data> StructuralEq for AnomalyData<'data>
impl<'data> StructuralPartialEq for AnomalyData<'data>
Auto Trait Implementations§
impl<'data> RefUnwindSafe for AnomalyData<'data>
impl<'data> Send for AnomalyData<'data>
impl<'data> Sync for AnomalyData<'data>
impl<'data> Unpin for AnomalyData<'data>
impl<'data> UnwindSafe for AnomalyData<'data>
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.