Skip to content

Commit

Permalink
fix(driver,poll): import of Interest
Browse files Browse the repository at this point in the history
  • Loading branch information
Berrysoft committed Mar 30, 2024
1 parent c67d169 commit 49604b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions compio-driver/src/poll/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ pub(crate) use libc::{sockaddr_storage, socklen_t};
use polling::{Event, Events, PollMode, Poller};
use slab::Slab;

use crate::{syscall, AsyncifyPool, Entry, OutEntries, ProactorBuilder};
use crate::{op::Interest, syscall, AsyncifyPool, Entry, OutEntries, ProactorBuilder};

pub(crate) mod op;

pub(crate) use crate::{op::Interest, unix::RawOp};
pub(crate) use crate::unix::RawOp;

/// Abstraction of operations.
pub trait OpCode {
Expand Down
2 changes: 1 addition & 1 deletion compio-driver/src/poll/op.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use libc::{pread64 as pread, preadv64 as preadv, pwrite64 as pwrite, pwritev64 a
use polling::Event;
use socket2::SockAddr;

use super::{sockaddr_storage, socklen_t, syscall, Decision, Interest, OpCode, RawFd};
use super::{sockaddr_storage, socklen_t, syscall, Decision, OpCode, RawFd};
use crate::op::*;
pub use crate::unix::op::*;

Expand Down

0 comments on commit 49604b5

Please sign in to comment.