pub struct ErrorPayload<'a> {
pub error_kind: ErrorKind,
pub error_code: &'a str,
pub message: &'a str,
}Expand description
Structured stderr payload for deterministic automation-safe failures.
Fields§
§error_kind: ErrorKindStable error class taxonomy.
error_code: &'a strStable machine-readable failure code.
message: &'a strHuman-readable detail string.
Trait Implementations§
Source§impl<'a> Clone for ErrorPayload<'a>
impl<'a> Clone for ErrorPayload<'a>
Source§fn clone(&self) -> ErrorPayload<'a>
fn clone(&self) -> ErrorPayload<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ErrorPayload<'a>
impl<'a> Debug for ErrorPayload<'a>
Source§impl<'a> PartialEq for ErrorPayload<'a>
impl<'a> PartialEq for ErrorPayload<'a>
Source§impl<'a> Serialize for ErrorPayload<'a>
impl<'a> Serialize for ErrorPayload<'a>
impl<'a> Eq for ErrorPayload<'a>
impl<'a> StructuralPartialEq for ErrorPayload<'a>
Auto Trait Implementations§
impl<'a> Freeze for ErrorPayload<'a>
impl<'a> RefUnwindSafe for ErrorPayload<'a>
impl<'a> Send for ErrorPayload<'a>
impl<'a> Sync for ErrorPayload<'a>
impl<'a> Unpin for ErrorPayload<'a>
impl<'a> UnsafeUnpin for ErrorPayload<'a>
impl<'a> UnwindSafe for ErrorPayload<'a>
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