pub struct StartControls { /* private fields */ }Expand description
Restart-relevant start controls for one logical step.
Implementations§
Source§impl StartControls
impl StartControls
Sourcepub const fn new(start_limit: StartLimit, allow_start_if_complete: bool) -> Self
pub const fn new(start_limit: StartLimit, allow_start_if_complete: bool) -> Self
Constructs explicit start controls.
Sourcepub const fn start_limit(&self) -> StartLimit
pub const fn start_limit(&self) -> StartLimit
Returns the maximum number of starts for one job instance.
Sourcepub const fn allow_start_if_complete(&self) -> bool
pub const fn allow_start_if_complete(&self) -> bool
Returns whether a restart path reruns an already completed step.
Trait Implementations§
Source§impl Clone for StartControls
impl Clone for StartControls
Source§fn clone(&self) -> StartControls
fn clone(&self) -> StartControls
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 StartControls
Source§impl Debug for StartControls
impl Debug for StartControls
Source§impl Default for StartControls
impl Default for StartControls
Source§fn default() -> StartControls
fn default() -> StartControls
Returns the “default value” for a type. Read more
impl Eq for StartControls
Source§impl PartialEq for StartControls
impl PartialEq for StartControls
impl StructuralPartialEq for StartControls
Auto Trait Implementations§
impl Freeze for StartControls
impl RefUnwindSafe for StartControls
impl Send for StartControls
impl Sync for StartControls
impl Unpin for StartControls
impl UnsafeUnpin for StartControls
impl UnwindSafe for StartControls
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