pub struct NodeError<S: State> {
pub node: String,
pub error: JunctureError,
pub state: S,
pub attempt: u32,
}Expand description
Error information for node execution failures
Contains details about which node failed, the error that occurred, the state at time of failure, and the attempt count.
Fields§
§node: StringName of the node that failed
error: JunctureErrorThe error that caused the failure
state: SState snapshot at time of failure
attempt: u32Current attempt count (1-indexed)
Trait Implementations§
Source§impl<S: State> Error for NodeError<S>
impl<S: State> Error for NodeError<S>
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<S> !Freeze for NodeError<S>
impl<S> RefUnwindSafe for NodeError<S>where
S: RefUnwindSafe,
impl<S> Send for NodeError<S>
impl<S> Sync for NodeError<S>
impl<S> Unpin for NodeError<S>where
S: Unpin,
impl<S> UnsafeUnpin for NodeError<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for NodeError<S>where
S: UnwindSafe,
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