Skip to main content

EmbeddedConversationMessage

Trait EmbeddedConversationMessage 

Source
pub trait EmbeddedConversationMessage {
    // Required method
    fn type_name(&self) -> &'static str;
}
Expand description

Type-erased view of a typed conversation message passed to an embedded backend.

Required Methods§

Source

fn type_name(&self) -> &'static str

Returns the Rust type name used for diagnostics and backend routing.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§