pub enum MeteringOutcome {
Completed,
Failed,
Cancelled,
Steered,
TimedOut,
NotDispatched,
Unknown,
}Expand description
Result known at the time this immutable measurement was recorded.
Variants§
Completed
The operation returned successfully.
Failed
The operation returned an error.
Cancelled
The caller cancelled the operation.
Steered
New input interrupted the operation.
TimedOut
Deadline elapsed before the result was known.
NotDispatched
Admission failed before provider dispatch.
Unknown
A durable preparation survived but the result did not.
Implementations§
Trait Implementations§
Source§impl Clone for MeteringOutcome
impl Clone for MeteringOutcome
Source§fn clone(&self) -> MeteringOutcome
fn clone(&self) -> MeteringOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MeteringOutcome
Source§impl Debug for MeteringOutcome
impl Debug for MeteringOutcome
Source§impl<'de> Deserialize<'de> for MeteringOutcome
impl<'de> Deserialize<'de> for MeteringOutcome
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
impl Eq for MeteringOutcome
Source§impl PartialEq for MeteringOutcome
impl PartialEq for MeteringOutcome
Source§impl Serialize for MeteringOutcome
impl Serialize for MeteringOutcome
impl StructuralPartialEq for MeteringOutcome
Auto Trait Implementations§
impl Freeze for MeteringOutcome
impl RefUnwindSafe for MeteringOutcome
impl Send for MeteringOutcome
impl Sync for MeteringOutcome
impl Unpin for MeteringOutcome
impl UnsafeUnpin for MeteringOutcome
impl UnwindSafe for MeteringOutcome
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