pub enum AgenticSystemExecutionCreation {
Created(AgenticSystemExecution),
AlreadyExists(AgenticSystemExecution),
}Expand description
What happened when a run was opened.
Instantiating with an identifier that already names a run is the normal retry, not an error: a host that did not hear the answer asks again, and the store hands back the run that exists rather than opening a second one beside it.
Variants§
Created(AgenticSystemExecution)
AlreadyExists(AgenticSystemExecution)
Implementations§
Source§impl AgenticSystemExecutionCreation
impl AgenticSystemExecutionCreation
pub const fn execution(&self) -> &AgenticSystemExecution
pub fn into_execution(self) -> AgenticSystemExecution
pub const fn is_new(&self) -> bool
Trait Implementations§
impl Eq for AgenticSystemExecutionCreation
impl StructuralPartialEq for AgenticSystemExecutionCreation
Auto Trait Implementations§
impl Freeze for AgenticSystemExecutionCreation
impl RefUnwindSafe for AgenticSystemExecutionCreation
impl Send for AgenticSystemExecutionCreation
impl Sync for AgenticSystemExecutionCreation
impl Unpin for AgenticSystemExecutionCreation
impl UnsafeUnpin for AgenticSystemExecutionCreation
impl UnwindSafe for AgenticSystemExecutionCreation
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