Skip to main content

TtsEndpoint

Trait TtsEndpoint 

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

One trait per family-endpoint enum. Returns the URI for the chosen variant. Mirrors ModelEndpoint for parity across model and TTS.

Required Methods§

Source

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

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§