pub struct AttemptMetadata {
pub max_attempts: u32,
pub attempt_number: u32,
pub timeout_secs: Option<u64>,
pub safety_level: SafetyLevel,
}Expand description
Attempt-level execution metadata derived from task constraints.
Fields§
§max_attempts: u32Maximum number of attempts allowed for this run.
attempt_number: u32Current attempt number (1-indexed).
timeout_secs: Option<u64>Execution timeout in seconds. If None, no timeout.
safety_level: SafetyLevelSafety level classification of the task.
Trait Implementations§
Source§impl Clone for AttemptMetadata
impl Clone for AttemptMetadata
Source§fn clone(&self) -> AttemptMetadata
fn clone(&self) -> AttemptMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AttemptMetadata
impl RefUnwindSafe for AttemptMetadata
impl Send for AttemptMetadata
impl Sync for AttemptMetadata
impl Unpin for AttemptMetadata
impl UnsafeUnpin for AttemptMetadata
impl UnwindSafe for AttemptMetadata
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