pub enum ProducerOwner {
Plugin {
plugin: String,
},
Delegation {
invocation_id: InvocationId,
},
Goal {
goal_id: GoalId,
},
GoalControl {
goal_id: GoalId,
},
Agent {
session_id: SessionId,
},
}Expand description
Stable identity used with session + idempotency key for durable deduplication.
Plugin connection authorization is runtime-only; the engine derives plugin
from the authenticated configured plugin name, never from send parameters.
The transport supplies name + connection epoch for live authority separately;
the epoch is never part of this durable owner or the deduplication key.
GoalControl identifies engine-authored lifecycle steering, not a continuation
reminder; its accepted messages survive goal-controller teardown.
Agent identifies an in-tree agent mail sender; the session identity is
engine-derived from the executing tool context, never from model arguments.
The owner is durable and participates in (session, owner, key) dedup.
Variants§
Trait Implementations§
Source§impl Clone for ProducerOwner
impl Clone for ProducerOwner
Source§fn clone(&self) -> ProducerOwner
fn clone(&self) -> ProducerOwner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProducerOwner
impl Debug for ProducerOwner
Source§impl<'de> Deserialize<'de> for ProducerOwner
impl<'de> Deserialize<'de> for ProducerOwner
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 ProducerOwner
Source§impl Hash for ProducerOwner
impl Hash for ProducerOwner
Source§impl JsonSchema for ProducerOwner
impl JsonSchema for ProducerOwner
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ProducerOwner
impl PartialEq for ProducerOwner
Source§fn eq(&self, other: &ProducerOwner) -> bool
fn eq(&self, other: &ProducerOwner) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProducerOwner
impl Serialize for ProducerOwner
impl StructuralPartialEq for ProducerOwner
Auto Trait Implementations§
impl Freeze for ProducerOwner
impl RefUnwindSafe for ProducerOwner
impl Send for ProducerOwner
impl Sync for ProducerOwner
impl Unpin for ProducerOwner
impl UnsafeUnpin for ProducerOwner
impl UnwindSafe for ProducerOwner
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