pub enum AgentSessionControlErrorCode {
Show 13 variants
InvalidCommand,
NotFound,
PermissionDenied,
ApprovalRequired,
Conflict,
IdempotencyConflict,
RunConflict,
NotActive,
Terminal,
StaleActive,
QuotaExceeded,
Unavailable,
Failed,
}Expand description
Required control error categories.
Variants§
InvalidCommand
Command fields or limits are invalid.
NotFound
Authorized target was not found (also used to hide unauthorized targets).
PermissionDenied
Effective host scope denies the operation.
ApprovalRequired
A host approval receipt is required.
Conflict
Optimistic revision or lifecycle conflict.
IdempotencyConflict
Idempotency key was reused for a different normalized command.
RunConflict
Session already owns an active run slot.
NotActive
Target has no current process-local control handle.
Terminal
Target run is immutable and terminal.
StaleActive
Durable state is active but no matching fenced owner exists.
QuotaExceeded
Host quota rejects the operation.
Required coordinator or storage capability is unavailable.
Failed
Bounded internal control failure.
Trait Implementations§
Source§impl Clone for AgentSessionControlErrorCode
impl Clone for AgentSessionControlErrorCode
Source§fn clone(&self) -> AgentSessionControlErrorCode
fn clone(&self) -> AgentSessionControlErrorCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AgentSessionControlErrorCode
Source§impl Debug for AgentSessionControlErrorCode
impl Debug for AgentSessionControlErrorCode
Source§impl<'de> Deserialize<'de> for AgentSessionControlErrorCode
impl<'de> Deserialize<'de> for AgentSessionControlErrorCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AgentSessionControlErrorCode
impl StructuralPartialEq for AgentSessionControlErrorCode
Auto Trait Implementations§
impl Freeze for AgentSessionControlErrorCode
impl RefUnwindSafe for AgentSessionControlErrorCode
impl Send for AgentSessionControlErrorCode
impl Sync for AgentSessionControlErrorCode
impl Unpin for AgentSessionControlErrorCode
impl UnsafeUnpin for AgentSessionControlErrorCode
impl UnwindSafe for AgentSessionControlErrorCode
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