macro_rules! debug_assert_pending {
($($arg:tt)*) => { ... };
}
Expand description
Asserts that the expression matches a Poll::Pending
variant on debug builds.
This macro behaves the same as assert_pending!
on debug builds. On release builds it is a
no-op.