pub struct CVESource { /* private fields */ }Expand description
CVE Database source implementation
Implementations§
Trait Implementations§
Source§impl ThreatSource for CVESource
impl ThreatSource for CVESource
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 CVESource
impl !RefUnwindSafe for CVESource
impl Send for CVESource
impl Sync for CVESource
impl Unpin for CVESource
impl !UnwindSafe for CVESource
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