Skip to main content

Module sleep_runtime

Module sleep_runtime 

Source
Expand description

Declare MockSleepRuntime.

Re-exportsยง

use pin_project::pin_project; ๐Ÿ”’
use tracing::trace; ๐Ÿ”’
use crate::time::MockSleepProvider; ๐Ÿ”’ Deprecated
use std::pin::Pin; ๐Ÿ”’
use std::task::Context; ๐Ÿ”’
use std::task::Poll; ๐Ÿ”’
use crate::util::impl_runtime_prelude::*; ๐Ÿ”’

Structsยง

MockSleepRuntimeDeprecated
A deprecated wrapper Runtime that overrides SleepProvider for the underlying runtime.
WaitFor
A future that advances time until another future is ready to complete.