Struct krecik::actors::multi_checker::MultiChecker
source · [−]pub struct MultiChecker;
Expand description
CurlMultiChecker actor for Multi bulk checks (Curl and OpenSSL)
Trait Implementations
sourceimpl Actor for MultiChecker
impl Actor for MultiChecker
sourceimpl Clone for MultiChecker
impl Clone for MultiChecker
sourcefn clone(&self) -> MultiChecker
fn clone(&self) -> MultiChecker
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for MultiChecker
impl Debug for MultiChecker
sourceimpl GenericChecker for MultiChecker
impl GenericChecker for MultiChecker
sourcefn check_domains(checks: &[Check]) -> Stories
fn check_domains(checks: &[Check]) -> Stories
Executes domain checks, returns Stories
sourcefn check_pages(checks: &[Check]) -> Stories
fn check_pages(checks: &[Check]) -> Stories
Executes page checks, returns Stories
sourcefn check_ssl_expire(
domain_name: &str,
domain_expectation: DomainExpectation,
notifier: Option<String>
) -> Story
fn check_ssl_expire(
domain_name: &str,
domain_expectation: DomainExpectation,
notifier: Option<String>
) -> Story
Check SSL certificate expiration using OpenSSL function
sourcefn handle_page_length_expectation(
url: &str,
raw_page_content: &str,
expected_content_length: &PageExpectation,
notifier: Option<String>
) -> Story
fn handle_page_length_expectation(
url: &str,
raw_page_content: &str,
expected_content_length: &PageExpectation,
notifier: Option<String>
) -> Story
Build a Story from a Length PageExpectation
sourcefn find_code_validation(
page_expectations: &[PageExpectation]
) -> &PageExpectation
fn find_code_validation(
page_expectations: &[PageExpectation]
) -> &PageExpectation
Find and extract code validation from validations
sourcefn find_content_validations(
page_expectations: &[PageExpectation]
) -> PageExpectations
fn find_content_validations(
page_expectations: &[PageExpectation]
) -> PageExpectations
Find and extract content validations
sourcefn find_content_length_validation(
page_expectations: &[PageExpectation]
) -> &PageExpectation
fn find_content_length_validation(
page_expectations: &[PageExpectation]
) -> &PageExpectation
Find and extract content length validation from validations
sourcefn find_address_validation(
page_expectations: &[PageExpectation]
) -> &PageExpectation
fn find_address_validation(
page_expectations: &[PageExpectation]
) -> &PageExpectation
Find and extract address validation from validations
sourcefn produce_curl_response_error(err: CurlError) -> Error
fn produce_curl_response_error(err: CurlError) -> Error
Converts CurlError to Error
sourcefn handle_page_content_expectations(
url: &str,
raw_page_content: &str,
expected_contents: &[PageExpectation],
notifier: Option<String>
) -> Stories
fn handle_page_content_expectations(
url: &str,
raw_page_content: &str,
expected_contents: &[PageExpectation],
notifier: Option<String>
) -> Stories
Build a Story from a Length PageExpectation
sourcefn handle_page_address_expectation(
url: &str,
address: &str,
expected_address: &PageExpectation,
notifier: Option<String>
) -> Story
fn handle_page_address_expectation(
url: &str,
address: &str,
expected_address: &PageExpectation,
notifier: Option<String>
) -> Story
Build a Story from a Address PageExpectation
sourcefn handle_page_httpcode_expectation(
url: &str,
connect_oserror: Option<Error>,
response_code: Result<u32, Error>,
expected_code: &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
Build a Story from a HttpCode PageExpectation
sourcefn process_page_handler(
page_check: &Page,
handler: CurlHandler,
multi: &Multi,
notifier: Option<String>
) -> Stories
fn process_page_handler(
page_check: &Page,
handler: CurlHandler,
multi: &Multi,
notifier: Option<String>
) -> Stories
Process Curl page requests using given handler
Build cookies list for Curl
sourcefn load_handler_for(page_check: &Page, multi: &Multi) -> CurlHandler
fn load_handler_for(page_check: &Page, multi: &Multi) -> CurlHandler
Load page check handler
sourceimpl Handler<Checks> for MultiChecker
impl Handler<Checks> for MultiChecker
impl Copy for MultiChecker
Auto Trait Implementations
impl RefUnwindSafe for MultiChecker
impl Send for MultiChecker
impl Sync for MultiChecker
impl Unpin for MultiChecker
impl UnwindSafe for MultiChecker
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
fn instrument(self, span: Span) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
sourcefn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
fn in_current_span(self) -> Instrumented<Self>ⓘNotable traits for Instrumented<T>impl<T> Future for Instrumented<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
where
S: Into<Dispatch>,
T: Future, type Output = <T as Future>::Output;
sourcefn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
fn with_current_subscriber(self) -> WithDispatch<Self>ⓘNotable traits for WithDispatch<T>impl<T> Future for WithDispatch<T>where
T: Future, type Output = <T as Future>::Output;
T: Future, type Output = <T as Future>::Output;