pub enum InboundPolicy {
Accept,
Hold,
Refuse,
}Expand description
What the receiver does with inbound messages.
Resolved where the route is attached, not inside the loop: an attended
surface defaults to hold (a human is there to read the backlog), an
unattended run to accept (nobody is coming to release a hold, and the
unattended defaults — read-only mode, outbox staging, the interlock plus
the merged sender taint — govern what a message can provoke). Set only by
config, never inferred from any prompt: admission policy must not be
decidable by anything sharing a context window with third-party text.
Variants§
Accept
Deliver at the next turn boundary.
Hold
Leave messages pending; a person reviews with mecha msg.
Refuse
As hold today. Reserved: refusing at send time needs the sender to
read the recipient’s policy, which phase 1 deliberately does not do.
Trait Implementations§
Source§impl Clone for InboundPolicy
impl Clone for InboundPolicy
Source§fn clone(&self) -> InboundPolicy
fn clone(&self) -> InboundPolicy
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more