fedimint_core

Trait NumPeersExt

Source
pub trait NumPeersExt {
    // Required method
    fn to_num_peers(&self) -> NumPeers;
}
Expand description

Types that can be easily converted to NumPeers

Required Methods§

Implementations on Foreign Types§

Source§

impl NumPeersExt for &[PeerId]

Source§

impl NumPeersExt for BTreeSet<PeerId>

Source§

impl NumPeersExt for Vec<PeerUrl>

Source§

impl NumPeersExt for Vec<PeerId>

Source§

impl<T> NumPeersExt for BTreeMap<PeerId, T>

Implementors§