pub struct AsyncStd;
Available on crate feature
rt-async-std
only.Expand description
Runtime implementation, which works with async-std.
Trait Implementations§
Source§impl Runtime for AsyncStd
impl Runtime for AsyncStd
Source§type Interval = Interval
type Interval = Interval
A future stream, which returns items in a previously specified interval. The item type is
not important.
Source§type Delay = Pin<Box<dyn Future<Output = ()> + Send>>
type Delay = Pin<Box<dyn Future<Output = ()> + Send>>
A future, which resolves after a previously specified amount of time. The output type is
not important.
Source§impl TraceRuntime for AsyncStd
Available on crate feature trace
only.
impl TraceRuntime for AsyncStd
Available on crate feature
trace
only.Source§type Receiver = Receiver<BatchMessage>
type Receiver = Receiver<BatchMessage>
A future stream to receive the batch messages from channels.
Source§type Sender = Sender<BatchMessage>
type Sender = Sender<BatchMessage>
A batch messages sender that could be sent across thread safely.
Auto Trait Implementations§
impl Freeze for AsyncStd
impl RefUnwindSafe for AsyncStd
impl Send for AsyncStd
impl Sync for AsyncStd
impl Unpin for AsyncStd
impl UnwindSafe for AsyncStd
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Available on crate feature
trace
only.Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Available on crate feature
trace
only.