#[repr(u32)]pub enum ares_sockfunc_flags_t {
ARES_SOCKFUNC_FLAG_NONBLOCKING = 1,
}Expand description
Flags defining behavior of socket functions
Variants§
ARES_SOCKFUNC_FLAG_NONBLOCKING = 1
Strongly recommended to create sockets as non-blocking and set this flag
Trait Implementations§
Source§impl Clone for ares_sockfunc_flags_t
impl Clone for ares_sockfunc_flags_t
Source§fn clone(&self) -> ares_sockfunc_flags_t
fn clone(&self) -> ares_sockfunc_flags_t
Returns a duplicate of the value. Read more
1.0.0§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_sockfunc_flags_t
impl Debug for ares_sockfunc_flags_t
Source§impl Hash for ares_sockfunc_flags_t
impl Hash for ares_sockfunc_flags_t
Source§impl PartialEq for ares_sockfunc_flags_t
impl PartialEq for ares_sockfunc_flags_t
impl Copy for ares_sockfunc_flags_t
impl Eq for ares_sockfunc_flags_t
impl StructuralPartialEq for ares_sockfunc_flags_t
Auto Trait Implementations§
impl Freeze for ares_sockfunc_flags_t
impl RefUnwindSafe for ares_sockfunc_flags_t
impl Send for ares_sockfunc_flags_t
impl Sync for ares_sockfunc_flags_t
impl Unpin for ares_sockfunc_flags_t
impl UnwindSafe for ares_sockfunc_flags_t
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)