Lines Matching refs:AsRawFd
11 use std::os::unix::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd};
318 pub fn build_with(fd_tokens: &[(&dyn AsRawFd, T)]) -> Result<EpollContext<T>> { in build_with() argument
329 pub fn add_many(&self, fd_tokens: &[(&dyn AsRawFd, T)]) -> Result<()> { in add_many() argument
342 pub fn add(&self, fd: &dyn AsRawFd, token: T) -> Result<()> { in add() argument
354 fd: &dyn AsRawFd, in add_fd_with_events() argument
380 pub fn modify(&self, fd: &dyn AsRawFd, events: WatchingEvents, token: T) -> Result<()> { in modify() argument
407 pub fn delete(&self, fd: &dyn AsRawFd) -> Result<()> { in delete()
485 impl<T: PollToken> AsRawFd for EpollContext<T> {
550 pub fn build_with(fd_tokens: &[(&dyn AsRawFd, T)]) -> Result<PollContext<T>> { in build_with() argument
561 pub fn add_many(&self, fd_tokens: &[(&dyn AsRawFd, T)]) -> Result<()> { in add_many() argument
574 pub fn add(&self, fd: &dyn AsRawFd, token: T) -> Result<()> { in add() argument
586 fd: &dyn AsRawFd, in add_fd_with_events() argument
598 pub fn modify(&self, fd: &dyn AsRawFd, events: WatchingEvents, token: T) -> Result<()> { in modify() argument
608 pub fn delete(&self, fd: &dyn AsRawFd) -> Result<()> { in delete()
680 impl<T: PollToken> AsRawFd for PollContext<T> {