Skip to content

Commit

Permalink
Async
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-shandar committed Oct 27, 2023
1 parent f5faf1e commit 3dfedfa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@

use std::{ffi::CStr, io, mem::zeroed, thread::yield_now};

use io_trait::{OperationResult, AsyncOperation};
use libc::{
aio_cancel, aio_error, aio_read, aio_return, aio_write, aiocb, close, open, AIO_NOTCANCELED,
};

use crate::async_io::{AsyncFile, AsyncIo, AsyncOperation, OperationResult};

pub struct File(i32);

impl Drop for File {
Expand Down

0 comments on commit 3dfedfa

Please sign in to comment.