pub trait TLSubscriberExt: Sized {
// Required method
async fn with_tracing_lv<D>(
self,
dst: D,
app_info: TLAppInfo,
setting: TLSetting,
) -> Result<(Layered<TLLayer<Box<dyn TracingLiveMsgSubscriber>>, Self>, impl Future<Output = ()> + Send + 'static, TLGuard), Status>
where D: TonicTryConnect;
// Provided method
async fn tracing_lv_init<D, U, F: Future<Output = U> + 'static>(
self,
dst: D,
app_info: TLAppInfo,
setting: TLSetting,
f: impl FnOnce() -> F,
) -> Result<U, Status>
where D: TonicTryConnect,
Layered<TLLayer<Box<dyn TracingLiveMsgSubscriber>>, Self>: Into<Dispatch> { ... }
}Required Methods§
async fn with_tracing_lv<D>(
self,
dst: D,
app_info: TLAppInfo,
setting: TLSetting,
) -> Result<(Layered<TLLayer<Box<dyn TracingLiveMsgSubscriber>>, Self>, impl Future<Output = ()> + Send + 'static, TLGuard), Status>where
D: TonicTryConnect,
Provided Methods§
async fn tracing_lv_init<D, U, F: Future<Output = U> + 'static>(
self,
dst: D,
app_info: TLAppInfo,
setting: TLSetting,
f: impl FnOnce() -> F,
) -> Result<U, Status>where
D: TonicTryConnect,
Layered<TLLayer<Box<dyn TracingLiveMsgSubscriber>>, Self>: Into<Dispatch>,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.