pub struct ExecutionLimitExceeded {
pub run_id: String,
pub phase: JobPhase,
pub resource: ExecutionResource,
pub observed: u64,
pub maximum: u64,
pub completed_units: u64,
}Expand description
Typed failure produced when one supervised execution resource is exhausted.
Fields§
§run_id: StringStable identifier of the supervised operation.
phase: JobPhasePhase active when the resource was exhausted.
resource: ExecutionResourceExhausted resource.
observed: u64Observed resource value.
maximum: u64Effective maximum.
completed_units: u64Verified work units completed before rejection.
Trait Implementations§
Source§impl Clone for ExecutionLimitExceeded
impl Clone for ExecutionLimitExceeded
Source§fn clone(&self) -> ExecutionLimitExceeded
fn clone(&self) -> ExecutionLimitExceeded
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 moreSource§impl Debug for ExecutionLimitExceeded
impl Debug for ExecutionLimitExceeded
Source§impl<'de> Deserialize<'de> for ExecutionLimitExceeded
impl<'de> Deserialize<'de> for ExecutionLimitExceeded
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 Display for ExecutionLimitExceeded
impl Display for ExecutionLimitExceeded
impl Eq for ExecutionLimitExceeded
Source§impl Error for ExecutionLimitExceeded
impl Error for ExecutionLimitExceeded
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl JsonSchema for ExecutionLimitExceeded
impl JsonSchema for ExecutionLimitExceeded
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ExecutionLimitExceeded
impl PartialEq for ExecutionLimitExceeded
Source§impl Serialize for ExecutionLimitExceeded
impl Serialize for ExecutionLimitExceeded
impl StructuralPartialEq for ExecutionLimitExceeded
Auto Trait Implementations§
impl Freeze for ExecutionLimitExceeded
impl RefUnwindSafe for ExecutionLimitExceeded
impl Send for ExecutionLimitExceeded
impl Sync for ExecutionLimitExceeded
impl Unpin for ExecutionLimitExceeded
impl UnsafeUnpin for ExecutionLimitExceeded
impl UnwindSafe for ExecutionLimitExceeded
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.