pub enum ChunkSource {
Embedded,
Mcp,
Gateway,
Matcher,
Cortex,
System,
}Expand description
Where the chunk came from. Distinct from caller_id: source is the
producer in the daemon; caller_id is the originator of the underlying
activity (an external MCP client name, the embedded agent, etc.).
Variants§
Embedded
The embedded agent runtime in the daemon.
Mcp
An external MCP client (Cursor, Codex, Claude Desktop, etc.). The
specific client lives in caller_id.
Gateway
The cel_act gateway, recording an attempted/completed/denied action.
Matcher
The rule matcher post-fire hook.
Cortex
The Cortex perception engine.
System
System-level metadata (settings changes, daemon lifecycle, 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