Skip to main content

WriterChunk

Trait WriterChunk 

Source
pub trait WriterChunk {
    // Required method
    fn primary_id(&self) -> &str;
}

Required Methods§

Source

fn primary_id(&self) -> &str

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl WriterChunk for AgentCompletionChunk

Source§

fn primary_id(&self) -> &str

Source§

impl WriterChunk for FunctionExecutionChunk

Source§

fn primary_id(&self) -> &str

Source§

impl WriterChunk for VectorCompletionChunk

Source§

fn primary_id(&self) -> &str

Implementors§