pub struct DispatchInfo {
pub cluster: ClusterId,
pub upstream_status: u16,
pub pool_reuse: bool,
}Expand description
The dispatch span: the upstream call outcome.
Fields§
§cluster: ClusterIdThe cluster the request was sent to.
upstream_status: u16The upstream HTTP status.
pool_reuse: boolWhether a pooled connection was reused.
Trait Implementations§
Source§impl Clone for DispatchInfo
impl Clone for DispatchInfo
Source§fn clone(&self) -> DispatchInfo
fn clone(&self) -> DispatchInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DispatchInfo
impl Debug for DispatchInfo
impl Eq for DispatchInfo
Source§impl PartialEq for DispatchInfo
impl PartialEq for DispatchInfo
Source§fn eq(&self, other: &DispatchInfo) -> bool
fn eq(&self, other: &DispatchInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DispatchInfo
Auto Trait Implementations§
impl Freeze for DispatchInfo
impl RefUnwindSafe for DispatchInfo
impl Send for DispatchInfo
impl Sync for DispatchInfo
impl Unpin for DispatchInfo
impl UnsafeUnpin for DispatchInfo
impl UnwindSafe for DispatchInfo
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