Struct walker_extras::visitors::Ignore
source · pub struct Ignore<'s, V> { /* private fields */ }Expand description
A visitor which can ignore discovered content.
Implementations§
Trait Implementations§
source§impl<'s, V: DiscoveredVisitor> DiscoveredVisitor for Ignore<'s, V>
impl<'s, V: DiscoveredVisitor> DiscoveredVisitor for Ignore<'s, V>
type Error = <V as DiscoveredVisitor>::Error
type Context = <V as DiscoveredVisitor>::Context
fn visit_context<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 DiscoveredContext<'_>
) -> Pin<Box<dyn Future<Output = Result<Self::Context, Self::Error>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn visit_sbom<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 Self::Context,
sbom: DiscoveredSbom
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
source§impl<'s, V: DiscoveredVisitor> DiscoveredVisitor for Ignore<'s, V>
impl<'s, V: DiscoveredVisitor> DiscoveredVisitor for Ignore<'s, V>
type Error = <V as DiscoveredVisitor>::Error
type Context = <V as DiscoveredVisitor>::Context
fn visit_context<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 DiscoveredContext<'_>
) -> Pin<Box<dyn Future<Output = Result<Self::Context, Self::Error>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn visit_advisory<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 Self::Context,
csaf: DiscoveredAdvisory
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Auto Trait Implementations§
impl<'s, V> Freeze for Ignore<'s, V>where
V: Freeze,
impl<'s, V> RefUnwindSafe for Ignore<'s, V>where
V: RefUnwindSafe,
impl<'s, V> Send for Ignore<'s, V>where
V: Send,
impl<'s, V> Sync for Ignore<'s, V>where
V: Sync,
impl<'s, V> Unpin for Ignore<'s, V>where
V: Unpin,
impl<'s, V> UnwindSafe for Ignore<'s, V>where
V: UnwindSafe,
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