pub struct ResolutionTrace {
pub service_name: String,
pub start_time: Instant,
pub duration: Duration,
pub success: bool,
pub error: Option<String>,
pub depth: usize,
}
Expand description
Trace record for a single service resolution
Fields§
§service_name: String
§start_time: Instant
§duration: Duration
§success: bool
§error: Option<String>
§depth: usize
Trait Implementations§
Source§impl Clone for ResolutionTrace
impl Clone for ResolutionTrace
Source§fn clone(&self) -> ResolutionTrace
fn clone(&self) -> ResolutionTrace
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 moreAuto Trait Implementations§
impl Freeze for ResolutionTrace
impl RefUnwindSafe for ResolutionTrace
impl Send for ResolutionTrace
impl Sync for ResolutionTrace
impl Unpin for ResolutionTrace
impl UnwindSafe for ResolutionTrace
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