Struct gitlab::api::retry::Client [−][src]
pub struct Client<C> { /* fields omitted */ }Expand description
A wrapper around a client to perform exponential backoff while retrying errors.
Notes
Currently, the wrapping is not 100% compatible, however the gaps should not be common. Of note is that the HTTP version is 1.1 since there is not a way to query the version from an existing builder. Also, all requested extensions are ignored since they cannot be cloned reliably. In the future, requests with extensions will be passed through, but without any backoff support.
Implementations
Trait Implementations
Auto Trait Implementations
impl<C> RefUnwindSafe for Client<C> where
C: RefUnwindSafe,
impl<C> UnwindSafe for Client<C> where
C: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more