pub struct ReplayFailure {
pub reason: String,
pub sequence: Option<u64>,
pub expected: Option<String>,
pub actual: Option<String>,
pub message: String,
}Expand description
A stable, machine-readable failure raised when workflow code no longer reconstructs the durable command stream recorded in history.
Fields§
§reason: String§sequence: Option<u64>§expected: Option<String>§actual: Option<String>§message: StringTrait Implementations§
Source§impl Clone for ReplayFailure
impl Clone for ReplayFailure
Source§fn clone(&self) -> ReplayFailure
fn clone(&self) -> ReplayFailure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReplayFailure
impl Debug for ReplayFailure
Source§impl Display for ReplayFailure
impl Display for ReplayFailure
Source§impl Error for ReplayFailure
impl Error for ReplayFailure
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 ReplayFailure
impl RefUnwindSafe for ReplayFailure
impl Send for ReplayFailure
impl Sync for ReplayFailure
impl Unpin for ReplayFailure
impl UnsafeUnpin for ReplayFailure
impl UnwindSafe for ReplayFailure
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