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§
Sourcefn create_scan_config(
&self,
_req: CreateScanConfigRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ScanConfig>>> + Send
fn create_scan_config( &self, _req: CreateScanConfigRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ScanConfig>>> + Send
Sourcefn delete_scan_config(
&self,
_req: DeleteScanConfigRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<()>>> + Send
fn delete_scan_config( &self, _req: DeleteScanConfigRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<()>>> + Send
Sourcefn get_scan_config(
&self,
_req: GetScanConfigRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ScanConfig>>> + Send
fn get_scan_config( &self, _req: GetScanConfigRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ScanConfig>>> + Send
Sourcefn list_scan_configs(
&self,
_req: ListScanConfigsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListScanConfigsResponse>>> + Send
fn list_scan_configs( &self, _req: ListScanConfigsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListScanConfigsResponse>>> + Send
Sourcefn update_scan_config(
&self,
_req: UpdateScanConfigRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ScanConfig>>> + Send
fn update_scan_config( &self, _req: UpdateScanConfigRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ScanConfig>>> + Send
Sourcefn start_scan_run(
&self,
_req: StartScanRunRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ScanRun>>> + Send
fn start_scan_run( &self, _req: StartScanRunRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ScanRun>>> + Send
Sourcefn get_scan_run(
&self,
_req: GetScanRunRequest,
_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
Implements super::client::WebSecurityScanner::get_scan_run.
Sourcefn list_scan_runs(
&self,
_req: ListScanRunsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListScanRunsResponse>>> + Send
fn list_scan_runs( &self, _req: ListScanRunsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListScanRunsResponse>>> + Send
Sourcefn stop_scan_run(
&self,
_req: StopScanRunRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ScanRun>>> + Send
fn stop_scan_run( &self, _req: StopScanRunRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ScanRun>>> + Send
Implements super::client::WebSecurityScanner::stop_scan_run.
Sourcefn list_crawled_urls(
&self,
_req: ListCrawledUrlsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListCrawledUrlsResponse>>> + Send
fn list_crawled_urls( &self, _req: ListCrawledUrlsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListCrawledUrlsResponse>>> + Send
Sourcefn get_finding(
&self,
_req: GetFindingRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<Finding>>> + Send
fn get_finding( &self, _req: GetFindingRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<Finding>>> + Send
Implements super::client::WebSecurityScanner::get_finding.
Sourcefn list_findings(
&self,
_req: ListFindingsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListFindingsResponse>>> + Send
fn list_findings( &self, _req: ListFindingsRequest, _options: RequestOptions, ) -> impl Future<Output = Result<Response<ListFindingsResponse>>> + Send
Implements super::client::WebSecurityScanner::list_findings.
Sourcefn list_finding_type_stats(
&self,
_req: ListFindingTypeStatsRequest,
_options: RequestOptions,
) -> impl Future<Output = Result<Response<ListFindingTypeStatsResponse>>> + Send
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.