Struct csaf_walker::source::FileSource
source · pub struct FileSource { /* private fields */ }Expand description
A file based source, possibly created by the crate::visitors::store::StoreVisitor.
Implementations§
Trait Implementations§
source§impl Clone for FileSource
impl Clone for FileSource
source§fn clone(&self) -> FileSource
fn clone(&self) -> FileSource
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<FileSource> for DispatchSource
impl From<FileSource> for DispatchSource
source§fn from(value: FileSource) -> Self
fn from(value: FileSource) -> Self
Converts to this type from the input type.
source§impl KeySource for FileSource
impl KeySource for FileSource
source§impl Source for FileSource
impl Source for FileSource
type Error = Error
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 FileSource
impl RefUnwindSafe for FileSource
impl Send for FileSource
impl Sync for FileSource
impl Unpin for FileSource
impl UnwindSafe for FileSource
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