[][src]Macro claim::debug_assert_pending

macro_rules! debug_assert_pending {
    ($($arg:tt)*) => { ... };
}

Asserts that expression returns Poll::Pending variant in runtime.

This macro is available for Rust 1.36+.

Like assert_pending!, this macro also has a second version, where a custom panic message can be provided.

Uses

See debug_assert! documentation for possible use cases. The same applies to this macro.