pub struct Walker<S: Source, P: Progress> { /* private fields */ }Implementations§
Source§impl<S: Source, P: Progress> Walker<S, P>
impl<S: Source, P: Progress> Walker<S, P>
pub fn with_progress<U: Progress>(self, progress: U) -> Walker<S, U>
Sourcepub fn with_distribution_filter<F>(self, distribution_filter: F) -> Self
pub fn with_distribution_filter<F>(self, distribution_filter: F) -> Self
Set a filter for distributions.
Each distribution from the metadata file will be passed to this function, if it returns false, the distribution
will not even be fetched.
pub async fn walk<V>(self, visitor: V) -> Result<(), Error<V::Error, S::Error>>where
V: DiscoveredVisitor,
pub async fn walk_parallel<V>(
self,
limit: usize,
visitor: V,
) -> Result<(), Error<V::Error, S::Error>>where
V: DiscoveredVisitor,
Auto Trait Implementations§
impl<S, P> Freeze for Walker<S, P>
impl<S, P> !RefUnwindSafe for Walker<S, P>
impl<S, P> !Send for Walker<S, P>
impl<S, P> !Sync for Walker<S, P>
impl<S, P> Unpin for Walker<S, P>
impl<S, P> !UnwindSafe for Walker<S, P>
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.