pub enum ErrorPhase {
Show 16 variants
Unspecified,
Configuration,
InputValidation,
RequestBuild,
RequestSend,
ResponseHeaders,
ReadBody,
Decode,
Normalize,
Stream,
SessionHandshake,
SessionSend,
SessionReceive,
SessionClose,
Lifecycle,
Cleanup,
}Expand description
Stage at which the failure was observed; it does not assert that execution is safe to retry.
Variants§
Unspecified
A caller implementation supplied no finer phase.
Configuration
Provider configuration validation.
InputValidation
Local request validation.
RequestBuild
Request encoding or construction.
RequestSend
Sending a request or opening its transport.
ResponseHeaders
Reading or validating the response status and headers.
ReadBody
Reading response bytes.
Decode
Decoding a response or frame.
Normalize
Converting decoded native data to portable values.
Stream
A service error or protocol failure during a generation stream.
SessionHandshake
Session connection negotiation.
SessionSend
Sending a session command.
SessionReceive
Receiving a session event.
SessionClose
Closing a session connection.
Lifecycle
Lifecycle admission or shutdown.
Cleanup
Releasing owned resources after an operation.
Trait Implementations§
Source§impl Clone for ErrorPhase
impl Clone for ErrorPhase
impl Copy for ErrorPhase
Source§impl Debug for ErrorPhase
impl Debug for ErrorPhase
impl Eq for ErrorPhase
Source§impl PartialEq for ErrorPhase
impl PartialEq for ErrorPhase
impl StructuralPartialEq for ErrorPhase
Auto Trait Implementations§
impl Freeze for ErrorPhase
impl RefUnwindSafe for ErrorPhase
impl Send for ErrorPhase
impl Sync for ErrorPhase
impl Unpin for ErrorPhase
impl UnsafeUnpin for ErrorPhase
impl UnwindSafe for ErrorPhase
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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
Compare self to
key and return true if they are equal.