pub struct CloseOutcome {
pub ingested: usize,
pub reflected: usize,
pub pending_commit: usize,
pub receipt_id: String,
}Expand description
Outcome returned from close_from_bytes.
Fields§
§ingested: usizeNumber of events ingested to the JSONL ledger.
reflected: usizeNumber of memory candidates produced by reflection.
pending_commit: usizeNumber of memories written with pending_mcp_commit lifecycle state
(ADR 0047). Callers promote these to active via
cortex_session_commit (MCP path) or directly via
MemoryRepo::set_active (CLI path).
receipt_id: StringStable receipt identifier for this close operation (trace_id or a synthetic marker when no trace was present).
Trait Implementations§
Source§impl Debug for CloseOutcome
impl Debug for CloseOutcome
Source§impl Default for CloseOutcome
impl Default for CloseOutcome
Source§fn default() -> CloseOutcome
fn default() -> CloseOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CloseOutcome
impl RefUnwindSafe for CloseOutcome
impl Send for CloseOutcome
impl Sync for CloseOutcome
impl Unpin for CloseOutcome
impl UnsafeUnpin for CloseOutcome
impl UnwindSafe for CloseOutcome
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