pub type PeerMetadataStorage = LockingHashMap<PeerId, PeerInfo>;

Implementations§

source§

impl PeerMetadataStorage

source

pub fn insert_connection(&self, connection_metadata: ConnectionMetadata)

source

pub fn remove_connection(&self, connection_metadata: &ConnectionMetadata)