pub enum AgenticSystemExecutionUpdate {
Updated(AgenticSystemExecution),
Conflict(AgenticSystemExecution),
}Expand description
What happened when a run was written back.
A conflict carries the run as it actually stands, so a caller that lost the race can re-read what happened while it was deciding instead of asking again and racing once more.
Variants§
Updated(AgenticSystemExecution)
Conflict(AgenticSystemExecution)
Implementations§
Source§impl AgenticSystemExecutionUpdate
impl AgenticSystemExecutionUpdate
pub const fn execution(&self) -> &AgenticSystemExecution
pub fn into_execution(self) -> AgenticSystemExecution
pub const fn is_conflict(&self) -> bool
Trait Implementations§
Source§impl Clone for AgenticSystemExecutionUpdate
impl Clone for AgenticSystemExecutionUpdate
Source§impl Debug for AgenticSystemExecutionUpdate
impl Debug for AgenticSystemExecutionUpdate
impl Eq for AgenticSystemExecutionUpdate
impl StructuralPartialEq for AgenticSystemExecutionUpdate
Auto Trait Implementations§
impl Freeze for AgenticSystemExecutionUpdate
impl RefUnwindSafe for AgenticSystemExecutionUpdate
impl Send for AgenticSystemExecutionUpdate
impl Sync for AgenticSystemExecutionUpdate
impl Unpin for AgenticSystemExecutionUpdate
impl UnsafeUnpin for AgenticSystemExecutionUpdate
impl UnwindSafe for AgenticSystemExecutionUpdate
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