pub enum ExternalFailure {
PortalUnavailable,
PaymentProviderUnavailable,
MessageProviderUnavailable,
StorageUnavailable,
Other(String),
}Expand description
Decision taxonomy for external failure in the agent tool error boundary; each value carries operational meaning for source-grounded routing and review.
Variants§
Identifies portal unavailable as the reason the workflow must stop, retry, or request review.
Identifies payment provider unavailable as the reason the workflow must stop, retry, or request review.
Identifies message provider unavailable as the reason the workflow must stop, retry, or request review.
Identifies storage unavailable as the reason the workflow must stop, retry, or request review.
Other(String)
Identifies other as the reason the workflow must stop, retry, or request review.
Trait Implementations§
Source§impl Clone for ExternalFailure
impl Clone for ExternalFailure
Source§fn clone(&self) -> ExternalFailure
fn clone(&self) -> ExternalFailure
Returns a duplicate of the value. Read more
1.0.0 · 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 ExternalFailure
impl Debug for ExternalFailure
Source§impl Display for ExternalFailure
impl Display for ExternalFailure
Source§impl PartialEq for ExternalFailure
impl PartialEq for ExternalFailure
impl Eq for ExternalFailure
impl StructuralPartialEq for ExternalFailure
Auto Trait Implementations§
impl Freeze for ExternalFailure
impl RefUnwindSafe for ExternalFailure
impl Send for ExternalFailure
impl Sync for ExternalFailure
impl Unpin for ExternalFailure
impl UnsafeUnpin for ExternalFailure
impl UnwindSafe for ExternalFailure
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