pub enum CapabilityTerminalOutcome {
Succeeded {
result: CapabilityResult,
},
Failed {
failure: ToolFailure,
},
PolicyDenied {
reason: PolicyDenial,
},
ApprovalDenied,
GrantRevoked {
cancellation: CancellationDisposition,
},
TimedOut {
cancellation: CancellationDisposition,
},
Superseded {
current_generation: SessionGeneration,
cancellation: CancellationDisposition,
},
InstanceClosed {
cancellation: CancellationDisposition,
},
ClientClosed {
cancellation: CancellationDisposition,
},
ProviderDetached {
cancellation: CancellationDisposition,
},
}Variants§
Succeeded
Fields
§
result: CapabilityResultFailed
Fields
§
failure: ToolFailurePolicyDenied
Fields
§
reason: PolicyDenialApprovalDenied
GrantRevoked
Fields
§
cancellation: CancellationDispositionTimedOut
Fields
§
cancellation: CancellationDispositionSuperseded
InstanceClosed
Fields
§
cancellation: CancellationDispositionClientClosed
Fields
§
cancellation: CancellationDispositionProviderDetached
Fields
§
cancellation: CancellationDispositionTrait Implementations§
Source§impl Clone for CapabilityTerminalOutcome
impl Clone for CapabilityTerminalOutcome
Source§impl Debug for CapabilityTerminalOutcome
impl Debug for CapabilityTerminalOutcome
Source§impl<'de> Deserialize<'de> for CapabilityTerminalOutcome
impl<'de> Deserialize<'de> for CapabilityTerminalOutcome
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 CapabilityTerminalOutcome
impl StructuralPartialEq for CapabilityTerminalOutcome
Auto Trait Implementations§
impl Freeze for CapabilityTerminalOutcome
impl RefUnwindSafe for CapabilityTerminalOutcome
impl Send for CapabilityTerminalOutcome
impl Sync for CapabilityTerminalOutcome
impl Unpin for CapabilityTerminalOutcome
impl UnsafeUnpin for CapabilityTerminalOutcome
impl UnwindSafe for CapabilityTerminalOutcome
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