Struct dvm_info::metrics::execution::ExecutionData [−][src]
pub struct ExecutionData { pub process_time: u64, pub result: Option<ExecutionResult>, }
Execution data.
Fields
process_time: u64
Time of processing.
result: Option<ExecutionResult>
Execution result. May be empty. Empty if the value is not set or the process ended with panic.
Implementations
impl ExecutionData
[src]
impl ExecutionData
[src]pub fn new(process_time: u64) -> ExecutionData
[src]
Create a new ExecutionData.
pub fn with_result(
process_time: u64,
result: Option<ExecutionResult>
) -> ExecutionData
[src]
process_time: u64,
result: Option<ExecutionResult>
) -> ExecutionData
Crate execution with result data.
Trait Implementations
impl Clone for ExecutionData
[src]
impl Clone for ExecutionData
[src]fn clone(&self) -> ExecutionData
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for ExecutionData
[src]
impl Default for ExecutionData
[src]fn default() -> ExecutionData
[src]
impl<'de> Deserialize<'de> for ExecutionData
[src]
impl<'de> Deserialize<'de> for ExecutionData
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Hash for ExecutionData
[src]
impl Hash for ExecutionData
[src]impl Ord for ExecutionData
[src]
impl Ord for ExecutionData
[src]impl PartialEq<ExecutionData> for ExecutionData
[src]
impl PartialEq<ExecutionData> for ExecutionData
[src]fn eq(&self, other: &ExecutionData) -> bool
[src]
fn ne(&self, other: &ExecutionData) -> bool
[src]
impl PartialOrd<ExecutionData> for ExecutionData
[src]
impl PartialOrd<ExecutionData> for ExecutionData
[src]fn partial_cmp(&self, other: &ExecutionData) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl Serialize for ExecutionData
[src]
impl Serialize for ExecutionData
[src]impl Eq for ExecutionData
[src]
impl StructuralEq for ExecutionData
[src]
impl StructuralPartialEq for ExecutionData
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExecutionData
impl Send for ExecutionData
impl Sync for ExecutionData
impl Unpin for ExecutionData
impl UnwindSafe for ExecutionData
Blanket Implementations
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> IntoRequest<T> for T
[src]
impl<T> IntoRequest<T> for T
[src]pub fn into_request(self) -> Request<T>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,
pub fn with_current_subscriber(self) -> WithDispatch<Self>
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,