pub struct OSINTSource { /* private fields */ }Expand description
OSINT source implementation (Abuse.ch, etc.)
Implementations§
Source§impl OSINTSource
impl OSINTSource
pub fn new(config: SourceConfig) -> Self
Trait Implementations§
Source§impl ThreatSource for OSINTSource
impl ThreatSource for OSINTSource
Source§fn fetch<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<ThreatData>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<ThreatData>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Fetch latest threat intelligence data from the source
Source§fn config(&self) -> &SourceConfig
fn config(&self) -> &SourceConfig
Get the source configuration
Auto Trait Implementations§
impl Freeze for OSINTSource
impl !RefUnwindSafe for OSINTSource
impl Send for OSINTSource
impl Sync for OSINTSource
impl Unpin for OSINTSource
impl !UnwindSafe for OSINTSource
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