pub struct StudyPlan { /* private fields */ }Expand description
Complete serializable phase/task graph registered with one study.
Implementations§
Source§impl StudyPlan
impl StudyPlan
Sourcepub fn to_pretty_json(&self) -> Result<Vec<u8>, StudyError>
pub fn to_pretty_json(&self) -> Result<Vec<u8>, StudyError>
Serializes the plan as deterministic pretty JSON with a final newline.
Sourcepub fn write_json(&self, path: impl AsRef<Path>) -> Result<(), StudyError>
pub fn write_json(&self, path: impl AsRef<Path>) -> Result<(), StudyError>
Writes the plan without overwriting different existing content.
Trait Implementations§
impl StructuralPartialEq for StudyPlan
Auto Trait Implementations§
impl Freeze for StudyPlan
impl RefUnwindSafe for StudyPlan
impl Send for StudyPlan
impl Sync for StudyPlan
impl Unpin for StudyPlan
impl UnsafeUnpin for StudyPlan
impl UnwindSafe for StudyPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more