macro_rules! debug_assert_ready_ok {
($($arg:tt)*) => { ... };
}
Expand description
Asserts that the expression matches a Poll::Ready(Ok(_))
variant on debug builds.
This macro behaves nearly the same as assert_ready_ok!
on debug builds, although it does not
return the value contained in the Poll::Ready(Ok(_))
variant. On release builds it is a no-op.