pub enum ContextReceiptStateV1 {
Prepared,
HandedOff,
ObservedModelEgress,
Rejected,
Partial,
}Expand description
How far a delivery is known to have gone.
Variants§
Prepared
Admitted and bound; nothing after that was observed.
HandedOff
Returned to the caller’s transport (CLI output written, MCP reply sent).
ObservedModelEgress
The exact bytes were seen leaving toward the model on an instrumented path.
Rejected
Nothing was delivered.
Partial
Some objects were delivered, some withheld or incompletely inspected.
Implementations§
Source§impl ContextReceiptStateV1
impl ContextReceiptStateV1
Sourcepub fn derive(
outcome: DeliveryOutcomeV1,
route: IntegrationRouteV1,
handed_off: bool,
egress_observations: usize,
withheld_or_incomplete: bool,
) -> Self
pub fn derive( outcome: DeliveryOutcomeV1, route: IntegrationRouteV1, handed_off: bool, egress_observations: usize, withheld_or_incomplete: bool, ) -> Self
The strongest state the evidence supports, never more.
Trait Implementations§
Source§impl Clone for ContextReceiptStateV1
impl Clone for ContextReceiptStateV1
impl Copy for ContextReceiptStateV1
Source§impl Debug for ContextReceiptStateV1
impl Debug for ContextReceiptStateV1
Source§impl<'de> Deserialize<'de> for ContextReceiptStateV1
impl<'de> Deserialize<'de> for ContextReceiptStateV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ContextReceiptStateV1
Source§impl Hash for ContextReceiptStateV1
impl Hash for ContextReceiptStateV1
Source§impl PartialEq for ContextReceiptStateV1
impl PartialEq for ContextReceiptStateV1
Source§impl Serialize for ContextReceiptStateV1
impl Serialize for ContextReceiptStateV1
impl StructuralPartialEq for ContextReceiptStateV1
Auto Trait Implementations§
impl Freeze for ContextReceiptStateV1
impl RefUnwindSafe for ContextReceiptStateV1
impl Send for ContextReceiptStateV1
impl Sync for ContextReceiptStateV1
impl Unpin for ContextReceiptStateV1
impl UnsafeUnpin for ContextReceiptStateV1
impl UnwindSafe for ContextReceiptStateV1
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