pub trait ValidatedVisitor {
type Error: Error + Debug;
type Context;
// Required methods
fn visit_context<'life0, 'life1, 'async_trait>(
&'life0 self,
metadata: &'life1 ProviderMetadata
) -> 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,
result: Result<ValidatedAdvisory, ValidationError>
) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}