Struct avm_server::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 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]>avm_outcome: Cow<'data, [u8]>execution_time: Durationmemory_delta: usizeImplementations
Trait Implementations
sourceimpl<'data> Clone for AnomalyData<'data>
impl<'data> Clone for AnomalyData<'data>
sourcefn clone(&self) -> AnomalyData<'data>
fn clone(&self) -> AnomalyData<'data>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'data> Debug for AnomalyData<'data>
impl<'data> Debug for AnomalyData<'data>
sourceimpl<'de, 'data> Deserialize<'de> for AnomalyData<'data>where
'de: 'data,
impl<'de, 'data> Deserialize<'de> for AnomalyData<'data>where
'de: 'data,
sourcefn 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
sourceimpl<'data> PartialEq<AnomalyData<'data>> for AnomalyData<'data>
impl<'data> PartialEq<AnomalyData<'data>> for AnomalyData<'data>
sourcefn 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 ==. Read more
sourceimpl<'data> Serialize for AnomalyData<'data>
impl<'data> Serialize for AnomalyData<'data>
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> Serialize for Twhere
T: Serialize + ?Sized,
impl<T> Serialize for Twhere
T: Serialize + ?Sized,
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more