Enum c_ares_sys::ares_evsys_t
source · #[repr(u32)]pub enum ares_evsys_t {
ARES_EVSYS_DEFAULT = 0,
ARES_EVSYS_WIN32 = 1,
ARES_EVSYS_EPOLL = 2,
ARES_EVSYS_KQUEUE = 3,
ARES_EVSYS_POLL = 4,
ARES_EVSYS_SELECT = 5,
}
Expand description
Values for ARES_OPT_EVENT_THREAD
Variants§
ARES_EVSYS_DEFAULT = 0
Default (best choice) event system
ARES_EVSYS_WIN32 = 1
Win32 IOCP/AFD_POLL event system
ARES_EVSYS_EPOLL = 2
Linux epoll
ARES_EVSYS_KQUEUE = 3
BSD/MacOS kqueue
ARES_EVSYS_POLL = 4
POSIX poll()
ARES_EVSYS_SELECT = 5
last fallback on Unix-like systems, select()
Trait Implementations§
source§impl Clone for ares_evsys_t
impl Clone for ares_evsys_t
source§fn clone(&self) -> ares_evsys_t
fn clone(&self) -> ares_evsys_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ares_evsys_t
impl Debug for ares_evsys_t
source§impl Hash for ares_evsys_t
impl Hash for ares_evsys_t
source§impl PartialEq for ares_evsys_t
impl PartialEq for ares_evsys_t
source§fn eq(&self, other: &ares_evsys_t) -> bool
fn eq(&self, other: &ares_evsys_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ares_evsys_t
impl Eq for ares_evsys_t
impl StructuralPartialEq for ares_evsys_t
Auto Trait Implementations§
impl Freeze for ares_evsys_t
impl RefUnwindSafe for ares_evsys_t
impl Send for ares_evsys_t
impl Sync for ares_evsys_t
impl Unpin for ares_evsys_t
impl UnwindSafe for ares_evsys_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more