Struct opentelemetry::runtime::TokioCurrentThread [−][src]
pub struct TokioCurrentThread;
This is supported on crate feature
rt-tokio-current-thread
only.Expand description
Runtime implementation, which works with Tokio’s current thread runtime.
Trait Implementations
type Interval = IntervalStream
type Interval = IntervalStream
A future stream, which returns items in a previously specified interval. The item type is not important. Read more
A future, which resolves after a previously specified amount of time. The output type is not important. Read more
Spawn a new task or thread, which executes the given future. Read more
This is supported on crate feature
trace
only.type Receiver = ReceiverStream<BatchMessage>
type Receiver = ReceiverStream<BatchMessage>
A future stream to receive the batch messages from channels.
type Sender = Sender<BatchMessage>
type Sender = Sender<BatchMessage>
A batch messages sender that could be sent across thread safely.
Auto Trait Implementations
impl RefUnwindSafe for TokioCurrentThread
impl Send for TokioCurrentThread
impl Sync for TokioCurrentThread
impl Unpin for TokioCurrentThread
impl UnwindSafe for TokioCurrentThread
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V