pub struct ExecutionFailure {
pub context: Box<ExecutionContext>,
pub error: Error,
pub cleanup_error: Option<Error>,
pub phase: Phase,
pub execution_may_have_started: bool,
}Fields§
§context: Box<ExecutionContext>§error: Error§cleanup_error: Option<Error>§phase: Phase§execution_may_have_started: boolConservative: a lost response must not be retried inside the runtime.
Trait Implementations§
Source§impl Clone for ExecutionFailure
impl Clone for ExecutionFailure
Source§impl Debug for ExecutionFailure
impl Debug for ExecutionFailure
Source§impl<'de> Deserialize<'de> for ExecutionFailure
impl<'de> Deserialize<'de> for ExecutionFailure
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
Source§impl Display for ExecutionFailure
impl Display for ExecutionFailure
Source§impl Error for ExecutionFailure
impl Error for ExecutionFailure
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ExecutionFailure
impl RefUnwindSafe for ExecutionFailure
impl Send for ExecutionFailure
impl Sync for ExecutionFailure
impl Unpin for ExecutionFailure
impl UnsafeUnpin for ExecutionFailure
impl UnwindSafe for ExecutionFailure
Blanket Implementations§
impl<T> ArtifactLease for T
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