pub fn new<'p>(options: &'p Options, client: &'p Client) -> ProxyChecker<'p> {
        ProxyChecker {
            detect_url: options.detect_url(),
            login: options.login(),
            pass: options.pass(),
            error_retry: options.error_retry(),
            error_interval: Duration::from_secs(options.error_interval()),
            client,
        }
    }
/// Create new instance of checker using options and prepared `Client`:
Create new instance of checker using options and prepared `Client`.
Create new instance of checker using options and prepared ` Client ` .
pub fn new<'p>(options: &'p Options, client: &'p Client) -> ProxyChecker<'p> {
        ProxyChecker {
            detect_url: options.detect_url(),
            login: options.login(),
            pass: options.pass(),
            error_retry: options.error_retry(),
            error_interval: Duration::from_secs(options.error_interval()),
            client,
        }
    }
pub fn new < ' p > ( options : & ' p Options , client : & ' p Client ) -> ProxyChecker < ' p > { ProxyChecker { detect_url : options . detect_url ( ) , login : options . login ( ) , pass : options . pass ( ) , error_retry : options . error_retry ( ) , error_interval : Duration :: from_secs ( options . error_interval ( ) ) , client , } }
Create new instance of checker using options and prepared `Client`:
Create new instance of checker using options and prepared ` Client ` :
options
&'p Options
client
&'p Client
options
&'p Options
client
&'p Client