Struct sbom_walker::source::HttpSource
source · pub struct HttpSource { /* private fields */ }Implementations§
source§impl HttpSource
impl HttpSource
pub fn new(url: Url, 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
async fn load_metadata(&self) -> Result<SourceMetadata, Self::Error>
async fn load_index(&self) -> Result<Vec<DiscoveredSbom>, Self::Error>
async fn load_sbom( &self, discovered: DiscoveredSbom ) -> Result<RetrievedSbom, Self::Error>
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