pub struct AsyncStaticResolver { /* private fields */ }Implementations§
Source§impl AsyncStaticResolver
impl AsyncStaticResolver
pub fn new(addrs: Vec<SocketAddr>) -> Self
Trait Implementations§
Source§impl Clone for AsyncStaticResolver
impl Clone for AsyncStaticResolver
Source§fn clone(&self) -> AsyncStaticResolver
fn clone(&self) -> AsyncStaticResolver
Returns a duplicate 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 AsyncStaticResolver
impl Debug for AsyncStaticResolver
Auto Trait Implementations§
impl Freeze for AsyncStaticResolver
impl RefUnwindSafe for AsyncStaticResolver
impl Send for AsyncStaticResolver
impl Sync for AsyncStaticResolver
impl Unpin for AsyncStaticResolver
impl UnwindSafe for AsyncStaticResolver
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