Struct mhost::resolver::ResolverGroupOpts
source · pub struct ResolverGroupOpts {
pub max_concurrent: usize,
pub limit: Option<usize>,
pub mode: Mode,
}
Fields§
§max_concurrent: usize
Maximum number of concurrent active resolvers
limit: Option<usize>
§mode: Mode
Set lookup mode
Trait Implementations§
source§impl Clone for ResolverGroupOpts
impl Clone for ResolverGroupOpts
source§fn clone(&self) -> ResolverGroupOpts
fn clone(&self) -> ResolverGroupOpts
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 ResolverGroupOpts
impl Debug for ResolverGroupOpts
Auto Trait Implementations§
impl RefUnwindSafe for ResolverGroupOpts
impl Send for ResolverGroupOpts
impl Sync for ResolverGroupOpts
impl Unpin for ResolverGroupOpts
impl UnwindSafe for ResolverGroupOpts
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