Skip to content

Commit 0db65dc

Browse files
committed
feat: Add baisc write op
Signed-off-by: Lzzzt <[email protected]>
1 parent 66583fe commit 0db65dc

File tree

9 files changed

+644
-465
lines changed

9 files changed

+644
-465
lines changed

.github/workflows/ci.sh

100755100644
File mode changed.

monoio/src/driver/op.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ use crate::driver;
99

1010
pub(crate) mod close;
1111
pub(crate) mod read;
12+
pub(crate) mod write;
1213

1314
mod accept;
1415
mod connect;
@@ -17,8 +18,6 @@ mod open;
1718
mod poll;
1819
mod recv;
1920
mod send;
20-
mod write;
21-
2221
#[cfg(unix)]
2322
mod statx;
2423

monoio/src/driver/op/read.rs

+4
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ read_result! {
4343
Read<T: IoBufMut> { buf },
4444
ReadAt<T: IoBufMut> { buf },
4545
ReadVec<T: IoVecBufMut> { buf_vec },
46+
}
47+
48+
#[cfg(not(windows))]
49+
read_result! {
4650
ReadVecAt<T: IoVecBufMut> { buf_vec },
4751
}
4852

0 commit comments

Comments
 (0)