pub struct SendDataResult {
pub last_result: Result<HttpResponse>,
pub requests_count: u64,
pub responses_count_per_code: HashMap<u16, u64>,
pub errors_timeout: u64,
pub errors_network: u64,
pub errors_status_code: u64,
pub bytes_sent: u64,
pub chunks_sent: u64,
pub chunks_dropped: u64,
}Fields§
§last_result: Result<HttpResponse>Keeps track of the last request result.
requests_count: u64Count metric for ‘trace_api.requests’.
responses_count_per_code: HashMap<u16, u64>Count metric for ‘trace_api.responses’. Each key maps a different HTTP status code.
errors_timeout: u64Count metric for ‘trace_api.errors’ (type: timeout).
errors_network: u64Count metric for ‘trace_api.errors’ (type: network).
errors_status_code: u64Count metric for ‘trace_api.errors’ (type: status_code).
bytes_sent: u64Count metric for ‘trace_api.bytes’
chunks_sent: u64Count metric for ‘trace_chunks_sent’
chunks_dropped: u64Count metric for ‘trace_chunks_dropped’
Trait Implementations§
Source§impl Debug for SendDataResult
impl Debug for SendDataResult
Auto Trait Implementations§
impl !Freeze for SendDataResult
impl !RefUnwindSafe for SendDataResult
impl Send for SendDataResult
impl Sync for SendDataResult
impl Unpin for SendDataResult
impl UnsafeUnpin for SendDataResult
impl !UnwindSafe for SendDataResult
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