pub struct ProviderUsageError {
pub code: ProviderUsageErrorCode,
pub message: String,
pub retryable: bool,
}Expand description
Structured probe failure for automation and user interfaces.
Fields§
§code: ProviderUsageErrorCodeStable error code.
message: StringSafe human-readable diagnostic.
retryable: boolWhether retrying later may succeed without user action.
Trait Implementations§
Source§impl Clone for ProviderUsageError
impl Clone for ProviderUsageError
Source§impl Debug for ProviderUsageError
impl Debug for ProviderUsageError
Source§impl<'de> Deserialize<'de> for ProviderUsageError
impl<'de> Deserialize<'de> for ProviderUsageError
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 ProviderUsageError
Source§impl PartialEq for ProviderUsageError
impl PartialEq for ProviderUsageError
Source§impl Serialize for ProviderUsageError
impl Serialize for ProviderUsageError
impl StructuralPartialEq for ProviderUsageError
Auto Trait Implementations§
impl Freeze for ProviderUsageError
impl RefUnwindSafe for ProviderUsageError
impl Send for ProviderUsageError
impl Sync for ProviderUsageError
impl Unpin for ProviderUsageError
impl UnsafeUnpin for ProviderUsageError
impl UnwindSafe for ProviderUsageError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.