pub struct ShodanClient { /* private fields */ }
Expand description
A minimal async Shodan API client using reqwest
and tokio
Implementations§
Source§impl ShodanClient
impl ShodanClient
Sourcepub async fn host_info(&self, ip_address: &str) -> Result<Value, Error>
pub async fn host_info(&self, ip_address: &str) -> Result<Value, Error>
Get information about a specific IP address from Shodan.
Trait Implementations§
Source§impl Clone for ShodanClient
impl Clone for ShodanClient
Source§fn clone(&self) -> ShodanClient
fn clone(&self) -> ShodanClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto 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