pub enum RetryKind {
Free,
ViaFactory,
Impossible,
}Expand description
Whether this body can be replayed — known before sending.
reqwest::Request::try_clone() -> Option<Request> answers the same
question after the retry layer has already decided to retry, and so
silently disables retries on streaming bodies.
Variants§
Trait Implementations§
impl Copy for RetryKind
impl Eq for RetryKind
impl StructuralPartialEq for RetryKind
Auto Trait Implementations§
impl Freeze for RetryKind
impl RefUnwindSafe for RetryKind
impl Send for RetryKind
impl Sync for RetryKind
impl Unpin for RetryKind
impl UnsafeUnpin for RetryKind
impl UnwindSafe for RetryKind
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