Module driver

Module driver 

Source

Structs§

Driver

Enums§

ConnectionPredicates

Constants§

PEERS_QUERY

Traits§

ConnectionPredicate
PeerPredicate

Functions§

add_rust_nodes
add_rust_nodes1
Creates num Rust nodes in the cluster
add_rust_nodes_with
Creates num Rust 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_dur period of no events, returning Ok(true) in this case. If there is no such period for timeout period of time, then returns Ok(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 nodes is listening on the localhost interface.