Struct c_ares_sys::ares_server_failover_options
source · #[repr(C)]pub struct ares_server_failover_options {
pub retry_chance: c_ushort,
pub retry_delay: usize,
}
Fields§
§retry_chance: c_ushort
§retry_delay: usize
Trait Implementations§
source§impl Clone for ares_server_failover_options
impl Clone for ares_server_failover_options
source§fn clone(&self) -> ares_server_failover_options
fn clone(&self) -> ares_server_failover_options
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_server_failover_options
impl Debug for ares_server_failover_options
impl Copy for ares_server_failover_options
Auto Trait Implementations§
impl Freeze for ares_server_failover_options
impl RefUnwindSafe for ares_server_failover_options
impl Send for ares_server_failover_options
impl Sync for ares_server_failover_options
impl Unpin for ares_server_failover_options
impl UnwindSafe for ares_server_failover_options
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)