pub struct RunFailure {
pub run_id: Uuid,
pub error: RuntimeError,
pub messages: Vec<Message>,
pub events: Vec<RunEvent>,
pub iterations: usize,
}Fields§
§run_id: Uuid§error: RuntimeError§messages: Vec<Message>§events: Vec<RunEvent>§iterations: usizeImplementations§
Source§impl RunFailure
impl RunFailure
pub fn category(&self) -> ErrorCategory
Trait Implementations§
Source§impl Debug for RunFailure
impl Debug for RunFailure
Source§impl Display for RunFailure
impl Display for RunFailure
Source§impl Error for RunFailure
impl Error for RunFailure
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 !RefUnwindSafe for RunFailure
impl !UnwindSafe for RunFailure
impl Freeze for RunFailure
impl Send for RunFailure
impl Sync for RunFailure
impl Unpin for RunFailure
impl UnsafeUnpin for RunFailure
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