Skip to main content

WebSecurityScanner

Trait WebSecurityScanner 

Source
pub trait WebSecurityScanner:
    Debug
    + Send
    + Sync {
Show 13 methods // Provided methods fn create_scan_config( &self, _req: CreateScanConfigRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ScanConfig>>> + Send { ... } fn delete_scan_config( &self, _req: DeleteScanConfigRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send { ... } fn get_scan_config( &self, _req: GetScanConfigRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ScanConfig>>> + Send { ... } fn list_scan_configs( &self, _req: ListScanConfigsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListScanConfigsResponse>>> + Send { ... } fn update_scan_config( &self, _req: UpdateScanConfigRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ScanConfig>>> + Send { ... } fn start_scan_run( &self, _req: StartScanRunRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ScanRun>>> + Send { ... } fn get_scan_run( &self, _req: GetScanRunRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ScanRun>>> + Send { ... } fn list_scan_runs( &self, _req: ListScanRunsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListScanRunsResponse>>> + Send { ... } fn stop_scan_run( &self, _req: StopScanRunRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ScanRun>>> + Send { ... } fn list_crawled_urls( &self, _req: ListCrawledUrlsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListCrawledUrlsResponse>>> + Send { ... } fn get_finding( &self, _req: GetFindingRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Finding>>> + Send { ... } fn list_findings( &self, _req: ListFindingsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListFindingsResponse>>> + Send { ... } fn list_finding_type_stats( &self, _req: ListFindingTypeStatsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListFindingTypeStatsResponse>>> + Send { ... }
}
Expand description

Defines the trait used to implement super::client::WebSecurityScanner.

Application developers may need to implement this trait to mock client::WebSecurityScanner. In other use-cases, application developers only use client::WebSecurityScanner and need not be concerned with this trait or its implementations.

Services gain new RPCs routinely. Consequently, this trait gains new methods too. To avoid breaking applications the trait provides a default implementation of each method. Most of these implementations just return an error.

Provided Methods§

Source

fn create_scan_config( &self, _req: CreateScanConfigRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ScanConfig>>> + Send

Source

fn delete_scan_config( &self, _req: DeleteScanConfigRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send

Source

fn get_scan_config( &self, _req: GetScanConfigRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ScanConfig>>> + Send

Source

fn list_scan_configs( &self, _req: ListScanConfigsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListScanConfigsResponse>>> + Send

Source

fn update_scan_config( &self, _req: UpdateScanConfigRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ScanConfig>>> + Send

Source

fn start_scan_run( &self, _req: StartScanRunRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ScanRun>>> + Send

Source

fn get_scan_run( &self, _req: GetScanRunRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ScanRun>>> + Send

Source

fn list_scan_runs( &self, _req: ListScanRunsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListScanRunsResponse>>> + Send

Source

fn stop_scan_run( &self, _req: StopScanRunRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ScanRun>>> + Send

Source

fn list_crawled_urls( &self, _req: ListCrawledUrlsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListCrawledUrlsResponse>>> + Send

Source

fn get_finding( &self, _req: GetFindingRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Finding>>> + Send

Source

fn list_findings( &self, _req: ListFindingsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListFindingsResponse>>> + Send

Source

fn list_finding_type_stats( &self, _req: ListFindingTypeStatsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListFindingTypeStatsResponse>>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§