Enum network::connectivity_manager::ConnectivityRequest [−][src]
pub enum ConnectivityRequest {
UpdateDiscoveredPeers(DiscoverySource, PeerSet),
GetConnectedSize(Sender<usize>),
GetDialQueueSize(Sender<usize>),
}Expand description
Requests received by the ConnectivityManager manager actor from upstream modules.
Variants
UpdateDiscoveredPeers(DiscoverySource, PeerSet)Update set of discovered peers and associated info
Tuple Fields of UpdateDiscoveredPeers
0: DiscoverySource1: PeerSetGetConnectedSize(Sender<usize>)Gets current size of connected peers. This is useful in tests.
Tuple Fields of GetConnectedSize
0: Sender<usize>GetDialQueueSize(Sender<usize>)Gets current size of dial queue. This is useful in tests.
Tuple Fields of GetDialQueueSize
0: Sender<usize>Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ConnectivityRequest
impl Send for ConnectivityRequest
impl Sync for ConnectivityRequest
impl Unpin for ConnectivityRequest
impl !UnwindSafe for ConnectivityRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
Generates a hash used only for tests.