Home
last modified time | relevance | path

Searched refs:Afd (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/
H A Dafd.rs83 pub struct Afd { struct
87 impl Afd { argument
89 fn new(cp: &CompletionPort) -> io::Result<Afd> { in new() argument
122 let afd = Afd { fd }; in new()
192 afd_group: Mutex<Vec<Arc<Afd>>>,
208 pub(crate) fn acquire(&self) -> io::Result<Arc<Afd>> { in acquire() argument
216 let arc = Arc::new(Afd::new(&self.cp)?); in acquire()
H A Dselector.rs32 use crate::sys::windows::afd::{Afd, AfdGroup, AfdPollInfo};
324 afd: Arc<Afd>,
346 fn new(socket: RawSocket, afd: Arc<Afd>) -> io::Result<SockState> { in new()