Lines Matching refs:is_ok
64 assert!(assert_ready!(pin!(framed).poll_ready(cx)).is_ok()); in write_multi_frame_in_packet()
65 assert!(pin!(framed).start_send(0).is_ok()); in write_multi_frame_in_packet()
66 assert!(assert_ready!(pin!(framed).poll_ready(cx)).is_ok()); in write_multi_frame_in_packet()
67 assert!(pin!(framed).start_send(1).is_ok()); in write_multi_frame_in_packet()
68 assert!(assert_ready!(pin!(framed).poll_ready(cx)).is_ok()); in write_multi_frame_in_packet()
69 assert!(pin!(framed).start_send(2).is_ok()); in write_multi_frame_in_packet()
75 assert!(assert_ready!(pin!(framed).poll_flush(cx)).is_ok()); in write_multi_frame_in_packet()
90 assert!(assert_ready!(pin!(framed).poll_ready(cx)).is_ok()); in write_multi_frame_after_codec_changed()
91 assert!(pin!(framed).start_send(0x04).is_ok()); in write_multi_frame_after_codec_changed()
94 assert!(assert_ready!(pin!(framed).poll_ready(cx)).is_ok()); in write_multi_frame_after_codec_changed()
95 assert!(pin!(framed).start_send(0x08).is_ok()); in write_multi_frame_after_codec_changed()
101 assert!(assert_ready!(pin!(framed).poll_flush(cx)).is_ok()); in write_multi_frame_after_codec_changed()
145 assert!(assert_ready!(pin!(framed).poll_ready(cx)).is_ok()); in write_hits_backpressure()
146 assert!(pin!(framed).start_send(i as u32).is_ok()); in write_hits_backpressure()
155 assert!(assert_ready!(pin!(framed).poll_ready(cx)).is_ok()); in write_hits_backpressure()
158 assert!(pin!(framed).start_send((ITER * 2) as u32).is_ok()); in write_hits_backpressure()
161 assert!(assert_ready!(pin!(framed).poll_flush(cx)).is_ok()); in write_hits_backpressure()