pub struct DiscoveryProgressBar { /* private fields */ }Expand description
Progress reporter for discovery operations.
Implementations§
Trait Implementations§
Source§impl DiscoveryProgress for DiscoveryProgressBar
impl DiscoveryProgress for DiscoveryProgressBar
Source§fn on_orgs_discovered(&self, count: usize)
fn on_orgs_discovered(&self, count: usize)
Called when organizations are discovered.
Source§fn on_org_started(&self, org_name: &str)
fn on_org_started(&self, org_name: &str)
Called when starting to fetch repos for an org.
Source§fn on_org_complete(&self, org_name: &str, repo_count: usize)
fn on_org_complete(&self, org_name: &str, repo_count: usize)
Called when finished fetching repos for an org.
Source§fn on_personal_repos_started(&self)
fn on_personal_repos_started(&self)
Called when starting to fetch personal repos.
Source§fn on_personal_repos_complete(&self, count: usize)
fn on_personal_repos_complete(&self, count: usize)
Called when finished fetching personal repos.
Auto Trait Implementations§
impl Freeze for DiscoveryProgressBar
impl RefUnwindSafe for DiscoveryProgressBar
impl Send for DiscoveryProgressBar
impl Sync for DiscoveryProgressBar
impl Unpin for DiscoveryProgressBar
impl UnsafeUnpin for DiscoveryProgressBar
impl UnwindSafe for DiscoveryProgressBar
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 more