#[non_exhaustive]pub enum RunnerErrorKind {
CgroupPrepareFailed,
BackendConfigFailed,
SpawnFailed,
ModuleLoadFailed,
}Expand description
Runner setup/teardown error kind for metrics labeling.
Passed to MetricsBackend::record_runner_error so dashboards can slice errors by a bounded, low-cardinality label rather than free-form strings.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
CgroupPrepareFailed
cgroup v2 preparation (creation / attribute write) failed.
BackendConfigFailed
Applying runner-specific configuration to the task command failed (rlimits, capabilities, namespaces, …).
SpawnFailed
Spawning the child process or actor failed.
ModuleLoadFailed
Loading the runner module (WASM / container image) failed.
Implementations§
Trait Implementations§
Source§impl Clone for RunnerErrorKind
impl Clone for RunnerErrorKind
Source§fn clone(&self) -> RunnerErrorKind
fn clone(&self) -> RunnerErrorKind
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 RunnerErrorKind
impl Debug for RunnerErrorKind
Source§impl Hash for RunnerErrorKind
impl Hash for RunnerErrorKind
Source§impl PartialEq for RunnerErrorKind
impl PartialEq for RunnerErrorKind
Source§fn eq(&self, other: &RunnerErrorKind) -> bool
fn eq(&self, other: &RunnerErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RunnerErrorKind
impl Eq for RunnerErrorKind
impl StructuralPartialEq for RunnerErrorKind
Auto Trait Implementations§
impl Freeze for RunnerErrorKind
impl RefUnwindSafe for RunnerErrorKind
impl Send for RunnerErrorKind
impl Sync for RunnerErrorKind
impl Unpin for RunnerErrorKind
impl UnsafeUnpin for RunnerErrorKind
impl UnwindSafe for RunnerErrorKind
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