pub struct RetrievingVisitor<V: RetrievedVisitor<S>, S: Source + KeySource> { /* private fields */ }Implementations§
Source§impl<V, S> RetrievingVisitor<V, S>
impl<V, S> RetrievingVisitor<V, S>
Trait Implementations§
Source§impl<V, S> DiscoveredVisitor for RetrievingVisitor<V, S>
impl<V, S> DiscoveredVisitor for RetrievingVisitor<V, S>
type Error = Error<<V as RetrievedVisitor<S>>::Error, <S as Source>::Error, <S as KeySource>::Error>
type Context = <V as RetrievedVisitor<S>>::Context
async fn visit_context( &self, context: &DiscoveredContext<'_>, ) -> Result<Self::Context, Self::Error>
async fn visit_advisory( &self, context: &Self::Context, discovered: DiscoveredAdvisory, ) -> Result<(), Self::Error>
Auto Trait Implementations§
impl<V, S> Freeze for RetrievingVisitor<V, S>
impl<V, S> RefUnwindSafe for RetrievingVisitor<V, S>where
V: RefUnwindSafe,
S: RefUnwindSafe,
impl<V, S> Send for RetrievingVisitor<V, S>
impl<V, S> Sync for RetrievingVisitor<V, S>
impl<V, S> Unpin for RetrievingVisitor<V, S>
impl<V, S> UnwindSafe for RetrievingVisitor<V, S>where
V: UnwindSafe,
S: 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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.