Struct FailedOver
pub struct FailedOver {
pub trial: TrialId,
pub previous_owner: Option<WorkerId>,
pub replacement: Option<TrialId>,
}Expand description
The result of failing over one stale trial.
Fields§
§trial: TrialIdThe trial that was found stale and moved to TrialState::Failed.
previous_owner: Option<WorkerId>The worker that owned it, if it was ever recorded.
replacement: Option<TrialId>The trial created to retry the same configuration, if the policy’s
FailoverPolicy::with_requeue setting is on.
Trait Implementations§
§impl Clone for FailedOver
impl Clone for FailedOver
§fn clone(&self) -> FailedOver
fn clone(&self) -> FailedOver
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 FailedOver
§impl Debug for FailedOver
impl Debug for FailedOver
impl Eq for FailedOver
§impl PartialEq for FailedOver
impl PartialEq for FailedOver
impl StructuralPartialEq for FailedOver
Auto Trait Implementations§
impl Freeze for FailedOver
impl RefUnwindSafe for FailedOver
impl Send for FailedOver
impl Sync for FailedOver
impl Unpin for FailedOver
impl UnsafeUnpin for FailedOver
impl UnwindSafe for FailedOver
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