Enum IngressDecision
pub enum IngressDecision {
Loop,
Annotate {
framing: UntrustedFraming,
},
Gate {
sop: String,
},
Drop {
reason: String,
},
}Variants§
Loop
DEFAULT — run the agent. Free: allocates no SOP run, does no IO.
Annotate
Wrap the message as untrusted data with the given framing, then loop.
Fields
§
framing: UntrustedFramingGate
Hand the turn to a managed SOP run (HITL).
Drop
Refuse the turn; audit-logged.
Trait Implementations§
Source§impl Clone for IngressDecision
impl Clone for IngressDecision
Source§fn clone(&self) -> IngressDecision
fn clone(&self) -> IngressDecision
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IngressDecision
impl Debug for IngressDecision
Source§impl<'de> Deserialize<'de> for IngressDecision
impl<'de> Deserialize<'de> for IngressDecision
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
Source§impl PartialEq for IngressDecision
impl PartialEq for IngressDecision
Source§impl Serialize for IngressDecision
impl Serialize for IngressDecision
impl Eq for IngressDecision
impl StructuralPartialEq for IngressDecision
Auto Trait Implementations§
impl Freeze for IngressDecision
impl RefUnwindSafe for IngressDecision
impl Send for IngressDecision
impl Sync for IngressDecision
impl Unpin for IngressDecision
impl UnsafeUnpin for IngressDecision
impl UnwindSafe for IngressDecision
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