Struct avm_data_store::AnomalyData
source · 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§
source§impl<'data> Clone for AnomalyData<'data>
impl<'data> Clone for AnomalyData<'data>
source§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 moresource§impl<'data> Debug for AnomalyData<'data>
impl<'data> Debug for AnomalyData<'data>
source§impl<'de: 'data, 'data> Deserialize<'de> for AnomalyData<'data>
impl<'de: 'data, 'data> Deserialize<'de> for AnomalyData<'data>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'data> PartialEq for AnomalyData<'data>
impl<'data> PartialEq for AnomalyData<'data>
source§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 ==
.source§impl<'data> Serialize for AnomalyData<'data>
impl<'data> Serialize for AnomalyData<'data>
impl<'data> Eq for AnomalyData<'data>
impl<'data> StructuralPartialEq for AnomalyData<'data>
Auto Trait Implementations§
impl<'data> Freeze for AnomalyData<'data>
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§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D,
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.