Struct opentelemetry::runtime::Tokio
source · pub struct Tokio;
Expand description
Runtime implementation, which works with Tokio’s multi thread runtime.
Trait Implementations§
source§impl Runtime for Tokio
impl Runtime for Tokio
§type Interval = IntervalStream
type Interval = IntervalStream
A future stream, which returns items in a previously specified interval. The item type is
not important.
§type Delay = Sleep
type Delay = Sleep
A future, which resolves after a previously specified amount of time. The output type is
not important.
source§impl TraceRuntime for Tokio
impl TraceRuntime for Tokio
§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 Send for Tokio
impl Sync for Tokio
impl Unpin for Tokio
impl UnwindSafe for Tokio
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