#[non_exhaustive]pub enum ScopeKind {
Job,
Step,
}Expand description
Runtime lifetime of one scoped component definition.
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.
Job
One live instance for one job-execution attempt.
Step
One live instance for one step-execution attempt.
Implementations§
Trait Implementations§
impl Copy for ScopeKind
impl Eq for ScopeKind
Source§impl Ord for ScopeKind
impl Ord for ScopeKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ScopeKind
impl PartialOrd for ScopeKind
impl StructuralPartialEq for ScopeKind
Auto Trait Implementations§
impl Forget for ScopeKind
impl Freeze for ScopeKind
impl Move for ScopeKind
impl RefUnwindSafe for ScopeKind
impl Send for ScopeKind
impl Sync for ScopeKind
impl Unpin for ScopeKind
impl UnsafeUnpin for ScopeKind
impl UnwindSafe for ScopeKind
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