pub enum LockStatus {
NotConfigured,
Available,
LockedBySelf,
LockedByOther {
agent_id: String,
stale: bool,
},
}Expand description
Result of checking whether an agent can work on an issue.
Variants§
NotConfigured
No lock system configured (no agent.json). Single-agent mode.
Available
Issue is not locked by anyone.
LockedBySelf
Issue is locked by this agent. Proceed.
LockedByOther
Issue is locked by another agent.
Trait Implementations§
Source§impl Debug for LockStatus
impl Debug for LockStatus
Source§impl PartialEq for LockStatus
impl PartialEq for LockStatus
impl StructuralPartialEq for LockStatus
Auto Trait Implementations§
impl Freeze for LockStatus
impl RefUnwindSafe for LockStatus
impl Send for LockStatus
impl Sync for LockStatus
impl Unpin for LockStatus
impl UnsafeUnpin for LockStatus
impl UnwindSafe for LockStatus
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