pub enum RawFault {
NotSent,
PossiblySent,
ResponseStarted,
Unknown,
}Expand description
Failure point injected by RawFaultExecutor.
Variants§
NotSent
Fail before any request bytes can be delivered.
PossiblySent
Fail after delivery may have begun.
ResponseStarted
Fail after a response head has started.
Unknown
Exercise the mandatory unknown-to-possibly-sent mapping.
Trait Implementations§
impl Copy for RawFault
impl Eq for RawFault
Source§impl Ord for RawFault
impl Ord for RawFault
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for RawFault
impl PartialOrd for RawFault
impl StructuralPartialEq for RawFault
Auto Trait Implementations§
impl Freeze for RawFault
impl RefUnwindSafe for RawFault
impl Send for RawFault
impl Sync for RawFault
impl Unpin for RawFault
impl UnsafeUnpin for RawFault
impl UnwindSafe for RawFault
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