pub enum ChunkSource {
Embedded,
Mcp,
Gateway,
Matcher,
Perception,
System,
}Expand description
Where the chunk came from. Distinct from caller_id: source is the
producer category, while caller_id is the originator of the underlying
activity (for example an agent id, client id, or service name).
Variants§
Embedded
An embedded or in-process agent.
Mcp
An external MCP client (Cursor, Codex, Claude Desktop, etc.). The
specific client lives in caller_id.
Gateway
An action gateway, recording an attempted/completed/denied action.
Matcher
A policy or rule matcher post-fire hook.
Perception
A perception or observation runtime.
System
System-level metadata (settings changes, lifecycle events, etc.).
Trait Implementations§
Source§impl Clone for ChunkSource
impl Clone for ChunkSource
Source§fn clone(&self) -> ChunkSource
fn clone(&self) -> ChunkSource
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 moreimpl Copy for ChunkSource
Source§impl Debug for ChunkSource
impl Debug for ChunkSource
Source§impl<'de> Deserialize<'de> for ChunkSource
impl<'de> Deserialize<'de> for ChunkSource
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 ChunkSource
Source§impl Hash for ChunkSource
impl Hash for ChunkSource
Source§impl PartialEq for ChunkSource
impl PartialEq for ChunkSource
Source§fn eq(&self, other: &ChunkSource) -> bool
fn eq(&self, other: &ChunkSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ChunkSource
impl Serialize for ChunkSource
impl StructuralPartialEq for ChunkSource
Auto Trait Implementations§
impl Freeze for ChunkSource
impl RefUnwindSafe for ChunkSource
impl Send for ChunkSource
impl Sync for ChunkSource
impl Unpin for ChunkSource
impl UnsafeUnpin for ChunkSource
impl UnwindSafe for ChunkSource
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