Trait Scanning

Source
pub trait Scanning {
    // Required methods
    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;
}

Required Methods§

Source

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,

Source

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,

Implementors§