mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-18 00:00:09 +02:00
io: add test for write_f(32|64)[_le] (#4026)
This commit is contained in:
@@ -591,6 +591,12 @@ async_assert_fn!(
|
||||
async_assert_fn!(
|
||||
tokio::io::AsyncWriteExt::write_i128(&mut BoxAsyncWrite, i128): Send & Sync & !Unpin
|
||||
);
|
||||
async_assert_fn!(
|
||||
tokio::io::AsyncWriteExt::write_f32(&mut BoxAsyncWrite, f32): Send & Sync & !Unpin
|
||||
);
|
||||
async_assert_fn!(
|
||||
tokio::io::AsyncWriteExt::write_f64(&mut BoxAsyncWrite, f64): Send & Sync & !Unpin
|
||||
);
|
||||
async_assert_fn!(
|
||||
tokio::io::AsyncWriteExt::write_u16_le(&mut BoxAsyncWrite, u16): Send & Sync & !Unpin
|
||||
);
|
||||
@@ -615,6 +621,12 @@ async_assert_fn!(
|
||||
async_assert_fn!(
|
||||
tokio::io::AsyncWriteExt::write_i128_le(&mut BoxAsyncWrite, i128): Send & Sync & !Unpin
|
||||
);
|
||||
async_assert_fn!(
|
||||
tokio::io::AsyncWriteExt::write_f32_le(&mut BoxAsyncWrite, f32): Send & Sync & !Unpin
|
||||
);
|
||||
async_assert_fn!(
|
||||
tokio::io::AsyncWriteExt::write_f64_le(&mut BoxAsyncWrite, f64): Send & Sync & !Unpin
|
||||
);
|
||||
async_assert_fn!(tokio::io::AsyncWriteExt::flush(&mut BoxAsyncWrite): Send & Sync & !Unpin);
|
||||
async_assert_fn!(tokio::io::AsyncWriteExt::shutdown(&mut BoxAsyncWrite): Send & Sync & !Unpin);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user