Struct csaf_walker::source::HttpSource
source · pub struct HttpSource { /* private fields */ }Implementations§
source§impl HttpSource
impl HttpSource
pub fn new<M: MetadataSource + 'static>( metadata: M, fetcher: Fetcher, options: HttpOptions ) -> Self
Trait Implementations§
source§impl Clone for HttpSource
impl Clone for HttpSource
source§fn clone(&self) -> HttpSource
fn clone(&self) -> HttpSource
Returns a copy 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 moresource§impl From<HttpSource> for DispatchSource
impl From<HttpSource> for DispatchSource
source§fn from(value: HttpSource) -> Self
fn from(value: HttpSource) -> Self
Converts to this type from the input type.
source§impl KeySource for HttpSource
impl KeySource for HttpSource
source§impl Source for HttpSource
impl Source for HttpSource
type Error = HttpSourceError
fn load_metadata<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<ProviderMetadata, Self::Error>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn load_index<'life0, 'async_trait>(
&'life0 self,
context: DistributionContext
) -> Pin<Box<dyn Future<Output = Result<Vec<DiscoveredAdvisory>, Self::Error>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn load_advisory<'life0, 'async_trait>(
&'life0 self,
discovered: DiscoveredAdvisory
) -> Pin<Box<dyn Future<Output = Result<RetrievedAdvisory, Self::Error>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for HttpSource
impl !RefUnwindSafe for HttpSource
impl !Send for HttpSource
impl !Sync for HttpSource
impl Unpin for HttpSource
impl !UnwindSafe for HttpSource
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