pub enum ConnectionErrorPolicy {
Retire,
Abort,
}Expand description
What to do when a load-generating connection terminates with an error.
draft-ietf-ippm-responsiveness-09 §5.4 says “if at any point one of these connections terminates with an error, the test should be aborted”. That “should” is lowercase, so it is advisory rather than a BCP 14 requirement, and aborting outright is often not the most useful behaviour: a server that rejects oversized uploads (HTTP 413) would abort every run. The default therefore retires the failed connection and lets the ramp replace it, while still recording and reporting the failure.
Variants§
Retire
Retire the failed connection, keep measuring, and report the failure count. Aborts only if load can no longer be sustained at all.
Abort
Abort the test on the first failure, as the draft literally describes.
Trait Implementations§
Source§impl Clone for ConnectionErrorPolicy
impl Clone for ConnectionErrorPolicy
impl Copy for ConnectionErrorPolicy
Source§impl Debug for ConnectionErrorPolicy
impl Debug for ConnectionErrorPolicy
Source§impl Default for ConnectionErrorPolicy
impl Default for ConnectionErrorPolicy
impl Eq for ConnectionErrorPolicy
Source§impl PartialEq for ConnectionErrorPolicy
impl PartialEq for ConnectionErrorPolicy
impl StructuralPartialEq for ConnectionErrorPolicy
Auto Trait Implementations§
impl Freeze for ConnectionErrorPolicy
impl RefUnwindSafe for ConnectionErrorPolicy
impl Send for ConnectionErrorPolicy
impl Sync for ConnectionErrorPolicy
impl Unpin for ConnectionErrorPolicy
impl UnsafeUnpin for ConnectionErrorPolicy
impl UnwindSafe for ConnectionErrorPolicy
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.