claims

Macro debug_assert_ready

Source
macro_rules! debug_assert_ready {
    ($($arg:tt)*) => { ... };
}
Expand description

Asserts that the expression matches a Poll::Ready(_) variant on debug builds.

This macro behaves nearly the same as assert_ready! on debug builds, although it does not return the value contained in the Ready variant. On release builds it is a no-op.