pub enum AgenticSystemSaveOutcome {
Saved {
revision: AgenticSystemRevision,
},
RevisionConflict {
current: AgenticSystemRevision,
},
}Expand description
What happened when a design was saved against the revision its author had read.
A conflict carries the revision that is actually stored, because “somebody else edited this” is not enough to act on: the editor has to be able to fetch what they missed and re-apply their change.
Variants§
Implementations§
Source§impl AgenticSystemSaveOutcome
impl AgenticSystemSaveOutcome
pub const fn saved(revision: AgenticSystemRevision) -> Self
pub const fn conflict(current: AgenticSystemRevision) -> Self
pub const fn revision(self) -> Option<AgenticSystemRevision>
pub const fn is_conflict(self) -> bool
Trait Implementations§
Source§impl Clone for AgenticSystemSaveOutcome
impl Clone for AgenticSystemSaveOutcome
impl Copy for AgenticSystemSaveOutcome
Source§impl Debug for AgenticSystemSaveOutcome
impl Debug for AgenticSystemSaveOutcome
impl Eq for AgenticSystemSaveOutcome
Source§impl PartialEq for AgenticSystemSaveOutcome
impl PartialEq for AgenticSystemSaveOutcome
impl StructuralPartialEq for AgenticSystemSaveOutcome
Auto Trait Implementations§
impl Freeze for AgenticSystemSaveOutcome
impl RefUnwindSafe for AgenticSystemSaveOutcome
impl Send for AgenticSystemSaveOutcome
impl Sync for AgenticSystemSaveOutcome
impl Unpin for AgenticSystemSaveOutcome
impl UnsafeUnpin for AgenticSystemSaveOutcome
impl UnwindSafe for AgenticSystemSaveOutcome
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