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§fn clone(&self) -> CapabilityTerminalOutcome
fn clone(&self) -> CapabilityTerminalOutcome
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 moreSource§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<CapabilityTerminalOutcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CapabilityTerminalOutcome, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CapabilityTerminalOutcome
Source§impl Serialize for CapabilityTerminalOutcome
impl Serialize for CapabilityTerminalOutcome
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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