Skip to main content

ChunkPush

Trait ChunkPush 

Source
pub trait ChunkPush {
    // Required method
    fn push(&mut self, other: &Self);
}
Expand description

CLI-side wrapper exposing the SDK’s intrinsic push(&mut self, other: &Self) method via a uniform trait. Each impl simply delegates to the chunk type’s inherent method — the SDK already guarantees push is a correct accumulator for the tier’s cumulative-state semantics.

Required Methods§

Source

fn push(&mut self, other: &Self)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ChunkPush for AgentCompletionChunk

Source§

fn push(&mut self, other: &Self)

Source§

impl ChunkPush for FunctionExecutionChunk

Source§

fn push(&mut self, other: &Self)

Source§

impl ChunkPush for VectorCompletionChunk

Source§

fn push(&mut self, other: &Self)

Implementors§