pub struct ErrorEnvelope<'a> {
pub ok: bool,
pub profile: Option<&'a str>,
pub error: ErrorBody,
}Expand description
LOCKED failure envelope shape: exactly the top-level fields ok,
profile, error — changing the set is a breaking change for agents.
Fields§
§ok: boolAlways false in this envelope.
profile: Option<&'a str>Active profile echoed in every output (CORE-01); None until config
resolution lands.
error: ErrorBodyThe typed error body.
Trait Implementations§
Source§impl<'a> Debug for ErrorEnvelope<'a>
impl<'a> Debug for ErrorEnvelope<'a>
Auto Trait Implementations§
impl<'a> Freeze for ErrorEnvelope<'a>
impl<'a> RefUnwindSafe for ErrorEnvelope<'a>
impl<'a> Send for ErrorEnvelope<'a>
impl<'a> Sync for ErrorEnvelope<'a>
impl<'a> Unpin for ErrorEnvelope<'a>
impl<'a> UnsafeUnpin for ErrorEnvelope<'a>
impl<'a> UnwindSafe for ErrorEnvelope<'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