Struct opentelemetry::runtime::Tokio [−][src]
pub struct Tokio;
This is supported on crate feature
rt-tokio
only.Expand description
Runtime implementation, which works with Tokio’s multi 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
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 Tokio
impl UnwindSafe for Tokio
Blanket Implementations
Mutably borrows from an owned value. Read more