pub struct UpdateTimings {
pub discovery_duration: Duration,
pub build_duration: Duration,
}Expand description
Timing information from the most recent LoadBalancer::update call.
Fields§
§discovery_duration: DurationTime spent in ServiceDiscovery::discover.
build_duration: DurationTime spent building the selection algorithm and storing the updated backends.
This is zero for LoadBalancerGroup because its selectors rebuild
asynchronously. Use
LoadBalancerGroup::selector_last_update_timing for per-selector
queue and build durations.
Trait Implementations§
Source§impl Clone for UpdateTimings
impl Clone for UpdateTimings
Source§fn clone(&self) -> UpdateTimings
fn clone(&self) -> UpdateTimings
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 moreimpl Copy for UpdateTimings
Auto Trait Implementations§
impl Freeze for UpdateTimings
impl RefUnwindSafe for UpdateTimings
impl Send for UpdateTimings
impl Sync for UpdateTimings
impl Unpin for UpdateTimings
impl UnsafeUnpin for UpdateTimings
impl UnwindSafe for UpdateTimings
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