pub struct StepError {
pub code: String,
pub message: String,
pub retryable: bool,
}Expand description
Sanitized terminal or retryable step error.
Fields§
§code: StringStable machine-readable error category.
message: StringConcise human-readable diagnostic.
retryable: boolWhether starting or continuing a retry can reasonably succeed.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StepError
impl<'de> Deserialize<'de> for StepError
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 StepError
impl StructuralPartialEq for StepError
Auto Trait Implementations§
impl Freeze for StepError
impl RefUnwindSafe for StepError
impl Send for StepError
impl Sync for StepError
impl Unpin for StepError
impl UnsafeUnpin for StepError
impl UnwindSafe for StepError
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