Struct ReplacementRestart
pub struct ReplacementRestart {
pub donor: TrialId,
pub mode: RestartMode,
}Expand description
The donor and mode of a restart replacement.
A fresh restart has no TrialTemplate::parent (it inherits no
checkpoint), so the donor travels here until the child starts and its
atune.lineage record is written.
Fields§
§donor: TrialIdThe trial whose configuration the child copies.
mode: RestartModeHow the child restarts.
Trait Implementations§
§impl Clone for ReplacementRestart
impl Clone for ReplacementRestart
§fn clone(&self) -> ReplacementRestart
fn clone(&self) -> ReplacementRestart
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 ReplacementRestart
§impl Debug for ReplacementRestart
impl Debug for ReplacementRestart
§impl<'de> Deserialize<'de> for ReplacementRestart
impl<'de> Deserialize<'de> for ReplacementRestart
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for ReplacementRestart
impl PartialEq for ReplacementRestart
§impl Serialize for ReplacementRestart
impl Serialize for ReplacementRestart
impl StructuralPartialEq for ReplacementRestart
Auto Trait Implementations§
impl Freeze for ReplacementRestart
impl RefUnwindSafe for ReplacementRestart
impl Send for ReplacementRestart
impl Sync for ReplacementRestart
impl Unpin for ReplacementRestart
impl UnsafeUnpin for ReplacementRestart
impl UnwindSafe for ReplacementRestart
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