pub struct GossipStateSummary {
pub initiated_round: Option<GossipRoundStateSummary>,
pub accepted_rounds: Vec<GossipRoundStateSummary>,
pub dht_summary: HashMap<String, DhtSegmentState>,
pub peer_meta: HashMap<Url, PeerMeta>,
}Expand description
Gossip state summary.
Fields§
§initiated_round: Option<GossipRoundStateSummary>The current initiated round summary.
accepted_rounds: Vec<GossipRoundStateSummary>The list of accepted round summaries.
dht_summary: HashMap<String, DhtSegmentState>DHT summary.
peer_meta: HashMap<Url, PeerMeta>Peer metadata dump for each agent in this space.
Trait Implementations§
Source§impl Clone for GossipStateSummary
impl Clone for GossipStateSummary
Source§fn clone(&self) -> GossipStateSummary
fn clone(&self) -> GossipStateSummary
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 GossipStateSummary
impl Debug for GossipStateSummary
Source§impl<'de> Deserialize<'de> for GossipStateSummary
impl<'de> Deserialize<'de> for GossipStateSummary
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 GossipStateSummary
impl RefUnwindSafe for GossipStateSummary
impl Send for GossipStateSummary
impl Sync for GossipStateSummary
impl Unpin for GossipStateSummary
impl UnwindSafe for GossipStateSummary
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