Trait opentelemetry_sdk::runtime::RuntimeChannel
source · pub trait RuntimeChannel: Runtime {
type Receiver<T: Debug + Send>: Stream<Item = T> + Send;
type Sender<T: Debug + Send>: TrySend<Message = T> + Debug;
// Required method
fn batch_message_channel<T: Debug + Send>(
&self,
capacity: usize
) -> (Self::Sender<T>, Self::Receiver<T>);
}
Expand description
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.
Implementors§
source§impl RuntimeChannel for AsyncStd
Available on crate feature rt-async-std
only.
impl RuntimeChannel for AsyncStd
Available on crate feature
rt-async-std
only.source§impl RuntimeChannel for Tokio
Available on crate feature rt-tokio
only.
impl RuntimeChannel for Tokio
Available on crate feature
rt-tokio
only.source§impl RuntimeChannel for TokioCurrentThread
Available on crate feature rt-tokio-current-thread
only.
impl RuntimeChannel for TokioCurrentThread
Available on crate feature
rt-tokio-current-thread
only.