pub enum ApiProfilePhase {
SerializeParams,
Transport,
DeserializeResponse,
DecodeBinary,
}Expand description
Fine-grained client request phase used by optional profiling hooks.
Variants§
SerializeParams
Time spent serializing request parameters before transport I/O starts.
Transport
Time spent waiting on the underlying transport and upstream worker.
DeserializeResponse
Time spent decoding a typed JSON response after transport I/O completes.
DecodeBinary
Time spent decoding a binary payload wrapper such as base64.
Implementations§
Trait Implementations§
Source§impl Clone for ApiProfilePhase
impl Clone for ApiProfilePhase
Source§fn clone(&self) -> ApiProfilePhase
fn clone(&self) -> ApiProfilePhase
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ApiProfilePhase
impl Debug for ApiProfilePhase
Source§impl PartialEq for ApiProfilePhase
impl PartialEq for ApiProfilePhase
impl Eq for ApiProfilePhase
impl StructuralPartialEq for ApiProfilePhase
Auto Trait Implementations§
impl Freeze for ApiProfilePhase
impl RefUnwindSafe for ApiProfilePhase
impl Send for ApiProfilePhase
impl Sync for ApiProfilePhase
impl Unpin for ApiProfilePhase
impl UnsafeUnpin for ApiProfilePhase
impl UnwindSafe for ApiProfilePhase
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