pub struct TelemetryLayerService;Trait Implementations§
Source§impl<S: LlmProvider> LayerService<S> for TelemetryLayerService
impl<S: LlmProvider> LayerService<S> for TelemetryLayerService
fn complete<'life0, 'life1, 'async_trait>(
&'life0 self,
inner: &'life1 S,
request: CompletionRequest,
options: RequestOptions,
) -> Pin<Box<dyn Future<Output = Result<CompletionResponse, ProviderError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn complete_stream<'life0, 'life1, 'async_trait>(
&'life0 self,
inner: &'life1 S,
request: CompletionRequest,
options: RequestOptions,
) -> Pin<Box<dyn Future<Output = Result<Pin<Box<dyn Stream<Item = Result<StreamEvent, ProviderError>> + Send>>, ProviderError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl Freeze for TelemetryLayerService
impl RefUnwindSafe for TelemetryLayerService
impl Send for TelemetryLayerService
impl Sync for TelemetryLayerService
impl Unpin for TelemetryLayerService
impl UnsafeUnpin for TelemetryLayerService
impl UnwindSafe for TelemetryLayerService
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