claims

Macro debug_assert_ready_eq

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

Asserts that the left expression contains a Poll::Ready(T) variant and its contained value of type T equals the right expression on debug builds.

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