Trait git_transport::IsSpuriousError
source · pub trait IsSpuriousError: Error {
fn is_spurious(&self) -> bool { ... }
}Expand description
An error which can tell whether it’s worth retrying to maybe succeed next time.
Provided Methods§
sourcefn is_spurious(&self) -> bool
fn is_spurious(&self) -> bool
Return true if retrying might result in a different outcome due to IO working out differently.
Implementations on Foreign Types§
impl IsSpuriousError for Infallible
source§impl IsSpuriousError for Error
impl IsSpuriousError for Error
fn is_spurious(&self) -> bool
Implementors§
impl IsSpuriousError for git_transport::client::connect::Error
Available on crate features
blocking-client or async-client only.impl IsSpuriousError for git_transport::client::Error
impl IsSpuriousError for git_transport::client::git::connect::Error
Available on crate feature
blocking-client and (crate features blocking-client or async-client) only.impl IsSpuriousError for git_transport::client::http::curl::Error
Available on crate features
http-client-curl and http-client and blocking-client only.impl IsSpuriousError for git_transport::client::http::Error
Available on crate features
http-client and blocking-client only.impl IsSpuriousError for git_transport::client::ssh::Error
Available on crate feature
blocking-client only.