pub struct RunArtifacts { /* private fields */ }Implementations§
Source§impl RunArtifacts
impl RunArtifacts
pub fn create(transcript_kind: TranscriptKind) -> Result<Self>
pub fn create_for_runner( runner_name: &str, transcript_kind: TranscriptKind, ) -> Result<Self>
pub fn create_in( state_root: impl AsRef<Path>, transcript_kind: TranscriptKind, ) -> Result<Self>
pub fn create_in_for_runner( state_root: impl AsRef<Path>, transcript_kind: TranscriptKind, runner_name: &str, ) -> Result<Self>
pub fn create_in_with_id_source<F>( state_root: impl AsRef<Path>, transcript_kind: TranscriptKind, next_run_id: F, ) -> Result<Self>
pub fn create_in_with_id_source_for_runner<F>( state_root: impl AsRef<Path>, transcript_kind: TranscriptKind, runner_name: &str, next_run_id: F, ) -> Result<Self>
pub fn create_in_with_id_source_and_transcript_opener<F, O>( state_root: impl AsRef<Path>, transcript_kind: TranscriptKind, next_run_id: F, transcript_opener: O, ) -> Result<Self>
pub fn create_in_with_id_source_and_transcript_opener_for_runner<F, O>( state_root: impl AsRef<Path>, transcript_kind: TranscriptKind, runner_name: &str, next_run_id: F, transcript_opener: O, ) -> Result<Self>
pub fn run_dir(&self) -> &Path
pub fn output_path(&self) -> &Path
pub fn transcript_path(&self) -> &Path
pub fn transcript_warning(&self) -> Option<&str>
pub fn record_stdout(&self, text: &str) -> Result<()>
pub fn write_output_text(&self, text: &str) -> Result<()>
Auto Trait Implementations§
impl !Freeze for RunArtifacts
impl RefUnwindSafe for RunArtifacts
impl Send for RunArtifacts
impl Sync for RunArtifacts
impl Unpin for RunArtifacts
impl UnsafeUnpin for RunArtifacts
impl UnwindSafe for RunArtifacts
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