pub struct Tcp {
pub connections: i64,
pub receiving_speed: f64,
pub sending_speed: f64,
pub in_send: i64,
pub measure_time: String,
pub pending_received: i64,
pub pending_send: i64,
pub received_bytes_since_last_run: i64,
pub received_bytes_total: i64,
pub sent_bytes_since_last_run: i64,
pub sent_bytes_total: i64,
}Fields§
§connections: i64§receiving_speed: f64§sending_speed: f64§in_send: i64§measure_time: String§pending_received: i64§pending_send: i64§received_bytes_since_last_run: i64§received_bytes_total: i64§sent_bytes_since_last_run: i64§sent_bytes_total: i64Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tcp
impl RefUnwindSafe for Tcp
impl Send for Tcp
impl Sync for Tcp
impl Unpin for Tcp
impl UnsafeUnpin for Tcp
impl UnwindSafe for Tcp
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request