fix(ecstore): restore Windows async read trait import (#4652)

* fix(ecstore): restore Windows async read trait import

* fix(ecstore): gate async read import to non-Unix
This commit is contained in:
Henry Guo
2026-07-10 18:28:29 +08:00
committed by GitHub
parent f16878ef23
commit 99eef032c6
+2
View File
@@ -62,6 +62,8 @@ use std::{
};
use time::OffsetDateTime;
use tokio::fs::{self, File};
#[cfg(not(unix))]
use tokio::io::AsyncReadExt;
use tokio::io::{AsyncRead, AsyncSeekExt, AsyncWrite, AsyncWriteExt, ErrorKind, ReadBuf};
use tokio::sync::{Notify, RwLock};
use tokio::time::{Instant, Sleep, interval_at, timeout};