[−][src]Crate tokio_test
Tokio and Futures based testing utilites
Modules
io | A mock type implementing |
task | Futures task based helpers |
Macros
assert_err | Asserts that the expression evaluates to |
assert_ok | Asserts that the expression evaluates to |
assert_pending | Asserts a |
assert_ready | Asserts a |
assert_ready_eq | Asserts if a poll is ready and check for equality on the value |
assert_ready_err | Asserts a |
assert_ready_ok | Asserts a |
Functions
block_on | Runs the provided future, blocking the current thread until the future completes. |