pub struct ApiTransportStats {
pub transport_stats: TransportStats,
pub blocked_message_counts: HashMap<Url, HashMap<SpaceId, MessageBlockCount>>,
}Expand description
Extended transport stats exposed via the API.
Fields§
§transport_stats: TransportStatsStats from the configured transport implementation.
blocked_message_counts: HashMap<Url, HashMap<SpaceId, MessageBlockCount>>Blocked message counts.
Trait Implementations§
Source§impl Clone for ApiTransportStats
impl Clone for ApiTransportStats
Source§fn clone(&self) -> ApiTransportStats
fn clone(&self) -> ApiTransportStats
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 moreSource§impl Debug for ApiTransportStats
impl Debug for ApiTransportStats
Source§impl<'de> Deserialize<'de> for ApiTransportStats
impl<'de> Deserialize<'de> for ApiTransportStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ApiTransportStats
impl RefUnwindSafe for ApiTransportStats
impl Send for ApiTransportStats
impl Sync for ApiTransportStats
impl Unpin for ApiTransportStats
impl UnwindSafe for ApiTransportStats
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