Structs§
Enums§
Constants§
Traits§
Functions§
- add_
rust_ nodes - add_
rust_ nodes1 - Creates
numRust nodes in the cluster - add_
rust_ nodes_ with - Creates
numRust nodes in the cluster - as_
event_ mio_ connection_ event - as_
event_ mio_ data_ send_ receive - as_
event_ mio_ error - as_
event_ mio_ interface_ detected - as_
event_ mio_ listener_ ready - as_
event_ mio_ outgoing_ connection - connect_
rust_ nodes - connection_
finalized_ event - get_
p2p_ state - get_
peer_ state - get_
peers_ iter - idle
- is_
network_ 🔒connection_ finalized - Returns connection peer_id iff the connection is finalized, i.e. multiplexing protocol is negotiated.
- match_
addr_ with_ port_ and_ peer_ id - next_
event - peer_
exists - peer_
has_ 🔒addr - peer_
is_ ready - run_
until_ no_ events - Runs cluster until there is a
quiet_durperiod of no events, returningOk(true)in this case. If there is no such period fortimeoutperiod of time, then returnsOk(false) - trace_
steps - trace_
steps_ state - wait_
for_ connection_ error - wait_
for_ connection_ established - Runst the cluster until the node is connected to the node that satisfies the predicate.
- wait_
for_ connection_ event - wait_
for_ nodes_ listening_ on_ localhost - Runs the cluster until each of the
nodesis listening on the localhost interface.