pub enum AttemptDelivery {
Responded,
NotSent,
Uncertain,
}Expand description
What became of one attempt’s bytes, for AttemptOutcome. It tells a caller whether
replaying a non-idempotent request could repeat a side effect.
Variants§
Responded
The server answered; status and headers are set.
NotSent
Nothing reached the server: the failure is in the connect phase, or a policy refused the destination before anything was sent.
Uncertain
The request may have reached the server (a post-connect transport failure, a
timeout after sending, a cancellation mid-flight). Such a POST is never replayed
automatically; see Request::retry_unsafe_statuses.
Trait Implementations§
Source§impl Clone for AttemptDelivery
impl Clone for AttemptDelivery
impl Copy for AttemptDelivery
Source§impl Debug for AttemptDelivery
impl Debug for AttemptDelivery
impl Eq for AttemptDelivery
Source§impl PartialEq for AttemptDelivery
impl PartialEq for AttemptDelivery
impl StructuralPartialEq for AttemptDelivery
Auto Trait Implementations§
impl Freeze for AttemptDelivery
impl RefUnwindSafe for AttemptDelivery
impl Send for AttemptDelivery
impl Sync for AttemptDelivery
impl Unpin for AttemptDelivery
impl UnsafeUnpin for AttemptDelivery
impl UnwindSafe for AttemptDelivery
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