pub struct ProcessOutcome {
pub accepted: bool,
pub drop_reason: Option<ProcessError>,
pub parsed_message: Option<CmrMessage>,
pub intrinsic_dependence: Option<f64>,
pub forwards: Vec<ForwardAction>,
pub client_plans: Vec<ClientMessagePlan>,
pub local_matches: Vec<CmrMessage>,
pub matched_count: usize,
pub routing_diagnostics: Option<RoutingDiagnostics>,
pub key_exchange_control: bool,
}Expand description
Result of processing one inbound message.
Fields§
§accepted: boolWhether message was accepted.
drop_reason: Option<ProcessError>Drop reason when not accepted.
parsed_message: Option<CmrMessage>Parsed message if available.
intrinsic_dependence: Option<f64>Intrinsic dependence score when computed.
forwards: Vec<ForwardAction>Generated forwarding actions.
client_plans: Vec<ClientMessagePlan>Client-originated message creation plans.
local_matches: Vec<CmrMessage>Matched cached messages returned to a locally originating client post.
matched_count: usizeNumber of semantic matches found.
routing_diagnostics: Option<RoutingDiagnostics>Routing distance diagnostics.
key_exchange_control: boolWhether this was a key exchange control message.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProcessOutcome
impl RefUnwindSafe for ProcessOutcome
impl Send for ProcessOutcome
impl Sync for ProcessOutcome
impl Unpin for ProcessOutcome
impl UnsafeUnpin for ProcessOutcome
impl UnwindSafe for ProcessOutcome
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