pub struct NoProgress;Expand description
A no-op implementation for when progress isn’t needed.
Trait Implementations§
Source§impl Debug for NoProgress
impl Debug for NoProgress
Source§impl Default for NoProgress
impl Default for NoProgress
Source§fn default() -> NoProgress
fn default() -> NoProgress
Returns the “default value” for a type. Read more
Source§impl DiscoveryProgress for NoProgress
impl DiscoveryProgress for NoProgress
Source§fn on_orgs_discovered(&self, _: usize)
fn on_orgs_discovered(&self, _: usize)
Called when organizations are discovered.
Source§fn on_org_started(&self, _: &str)
fn on_org_started(&self, _: &str)
Called when starting to fetch repos for an org.
Source§fn on_org_complete(&self, _: &str, _: usize)
fn on_org_complete(&self, _: &str, _: 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, _: usize)
fn on_personal_repos_complete(&self, _: usize)
Called when finished fetching personal repos.
Auto Trait Implementations§
impl Freeze for NoProgress
impl RefUnwindSafe for NoProgress
impl Send for NoProgress
impl Sync for NoProgress
impl Unpin for NoProgress
impl UnsafeUnpin for NoProgress
impl UnwindSafe for NoProgress
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