pub struct TransportStats {
pub backend: String,
pub peer_urls: Vec<Url>,
pub connections: Vec<TransportConnectionStats>,
}Expand description
Stats for a transport connection.
This is intended to be a state dump that gives some insight into what the transport is doing.
Fields§
§backend: StringThe networking backend that is in use.
peer_urls: Vec<Url>The list of peer urls that this Kitsune2 instance can currently be reached at.
connections: Vec<TransportConnectionStats>The list of current connections.
Trait Implementations§
Source§impl Clone for TransportStats
impl Clone for TransportStats
Source§fn clone(&self) -> TransportStats
fn clone(&self) -> TransportStats
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 TransportStats
impl Debug for TransportStats
Source§impl<'de> Deserialize<'de> for TransportStats
impl<'de> Deserialize<'de> for TransportStats
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 TransportStats
impl RefUnwindSafe for TransportStats
impl Send for TransportStats
impl Sync for TransportStats
impl Unpin for TransportStats
impl UnwindSafe for TransportStats
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