pub struct ShodanClient { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Account for ShodanClient
impl Account for ShodanClient
fn get_account_profile<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<AccountProfileResponse, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl ApiInfo for ShodanClient
impl ApiInfo for ShodanClient
fn get_api_info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ApiInfoResponse, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Directory for ShodanClient
impl Directory for ShodanClient
fn directory_query<'life0, 'async_trait>(
&'life0 self,
page: Option<u32>,
sort: Option<String>,
order: Option<String>,
) -> Pin<Box<dyn Future<Output = Result<ShodanClientResponse<DirectoryQueryResponse>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn directory_query_search<'life0, 'async_trait>(
&'life0 self,
query: String,
page: Option<u32>,
) -> Pin<Box<dyn Future<Output = Result<ShodanClientResponse<DirectoryQueryResponse>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Dns for ShodanClient
impl Dns for ShodanClient
fn dns_domain<'life0, 'async_trait>(
&'life0 self,
domain: String,
history: Option<bool>,
dns_type: Option<String>,
page: Option<u32>,
) -> Pin<Box<dyn Future<Output = Result<DnsDomainResponse, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn dns_resolve<'life0, 'async_trait>(
&'life0 self,
hostnames: Vec<String>,
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, Option<String>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn dns_reverse<'life0, 'async_trait>(
&'life0 self,
ips: Vec<String>,
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, Vec<String>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Scanning for ShodanClient
impl Scanning for ShodanClient
fn get_scanning_ports<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ShodanClientResponse<Vec<u16>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_scanning_protocols<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ShodanClientResponse<HashMap<String, String>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Search for ShodanClient
impl Search for ShodanClient
fn host_ip<'life0, 'async_trait>(
&'life0 self,
ip: String,
history: Option<bool>,
minifi: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<SearchHostIpResponse, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn host_search<'life0, 'life1, 'async_trait>(
&'life0 self,
query: String,
facets: Option<&'life1 str>,
page: Option<u32>,
minifi: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<SearchResult, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn host_count<'life0, 'life1, 'async_trait>(
&'life0 self,
query: String,
facets: Option<&'life1 str>,
) -> Pin<Box<dyn Future<Output = Result<CountResponse, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn host_facets<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn host_filters<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn host_tokens<'life0, 'async_trait>(
&'life0 self,
query: String,
) -> Pin<Box<dyn Future<Output = Result<TokenResponse, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl Utility for ShodanClient
impl Utility for ShodanClient
fn get_my_ip<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_http_headers<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, String>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for ShodanClient
impl RefUnwindSafe for ShodanClient
impl Send for ShodanClient
impl Sync for ShodanClient
impl Unpin for ShodanClient
impl UnwindSafe for ShodanClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more