pub trait GenericChecker {
Show 16 methods fn check_domains(checks: &[Check]) -> Stories { ... } fn check_pages(checks: &[Check]) -> Stories { ... } fn check_ssl_expire(
        domain_name: &str,
        domain_expectation: DomainExpectation,
        notifier: Option<String>
    ) -> Story { ... } fn handle_page_length_expectation(
        url: &str,
        raw_page_content: &str,
        expected_content_length: &PageExpectation,
        notifier: Option<String>
    ) -> Story { ... } fn find_code_validation(
        page_expectations: &[PageExpectation]
    ) -> &PageExpectation { ... } fn find_content_validations(
        page_expectations: &[PageExpectation]
    ) -> PageExpectations { ... } fn find_content_length_validation(
        page_expectations: &[PageExpectation]
    ) -> &PageExpectation { ... } fn find_address_validation(
        page_expectations: &[PageExpectation]
    ) -> &PageExpectation { ... } fn produce_curl_response_error(err: CurlError) -> Error { ... } fn handle_page_content_expectations(
        url: &str,
        raw_page_content: &str,
        expected_contents: &[PageExpectation],
        notifier: Option<String>
    ) -> Stories { ... } fn handle_page_address_expectation(
        url: &str,
        address: &str,
        expected_address: &PageExpectation,
        notifier: Option<String>
    ) -> Story { ... } fn handle_page_httpcode_expectation(
        url: &str,
        connect_oserror: Option<Error>,
        response_code: Result<u32, Error>,
        expected_code: &PageExpectation,
        notifier: Option<String>
    ) -> Story { ... } fn process_page_handler(
        page_check: &Page,
        handler: CurlHandler,
        multi: &Multi,
        notifier: Option<String>
    ) -> Stories { ... } fn list_of_headers(headers: Option<Vec<String>>) -> List { ... } fn list_of_cookies(headers: Option<Vec<String>>) -> String { ... } fn load_handler_for(page_check: &Page, multi: &Multi) -> CurlHandler { ... }
}
Expand description

Trait implementing all helper functions for Curl-driven checks

Provided Methods

Executes domain checks, returns Stories

Executes page checks, returns Stories

Check SSL certificate expiration using OpenSSL function

Build a Story from a Length PageExpectation

Find and extract code validation from validations

Find and extract content validations

Find and extract content length validation from validations

Find and extract address validation from validations

Converts CurlError to Error

Build a Story from a Length PageExpectation

Build a Story from a Address PageExpectation

Build a Story from a HttpCode PageExpectation

Process Curl page requests using given handler

Build headers List for Curl

Build cookies list for Curl

Load page check handler

Implementors