pub struct RunRecord {
pub id: RunId,
pub name: String,
pub description: String,
pub source: Arc<str>,
/* private fields */
}Expand description
One run, with the script that produced it.
Fields§
§id: RunId§name: String§description: String§source: Arc<str>The script text, kept so the user can read it and save it afterward.
Implementations§
Source§impl RunRecord
impl RunRecord
pub fn snapshot(&self) -> Arc<RunSnapshot> ⓘ
pub fn subscribe(&self) -> Receiver<u64>
pub fn pause(&self)
pub fn resume(&self)
pub fn is_paused(&self) -> bool
pub fn stop(&self)
pub fn stop_agent(&self, agent: AgentId)
pub fn restart_agent(&self, agent: AgentId)
Auto Trait Implementations§
impl !RefUnwindSafe for RunRecord
impl !UnwindSafe for RunRecord
impl Freeze for RunRecord
impl Send for RunRecord
impl Sync for RunRecord
impl Unpin for RunRecord
impl UnsafeUnpin for RunRecord
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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 moreCreates a shared type from an unshared type.