pub struct CacheItemError {
pub category: String,
pub code: String,
pub message: String,
}Expand description
Per-item error embedded in cache JSON payloads.
Mirrors the top-level error envelope’s error field minus
exit_code, matching the per-file-isolation contract documented in
openspec/changes/add-machine-readable-output/specs/machine-readable-output/spec.md.
Fields§
§category: StringStable snake_case category from
crate::error::SubXError::category.
code: StringStable upper-snake-case machine code from
crate::error::SubXError::machine_code.
message: StringHuman-readable English message.
Trait Implementations§
Source§impl Debug for CacheItemError
impl Debug for CacheItemError
Auto Trait Implementations§
impl Freeze for CacheItemError
impl RefUnwindSafe for CacheItemError
impl Send for CacheItemError
impl Sync for CacheItemError
impl Unpin for CacheItemError
impl UnsafeUnpin for CacheItemError
impl UnwindSafe for CacheItemError
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