Module info

Source
Expand description

System information component System information component for the Peillute application

This module provides a component for displaying system-wide information, including network details, logical clock states, and peer connections.

Re-exportsยง

pub use Info_completions::Component::Info;

Structsยง

AskForSnapshot
Serialized arguments for the ask_for_snapshot server function.
GetConnectedNeighbours
Serialized arguments for the get_connected_neighbours server function.
GetDbPath
Serialized arguments for the get_db_path server function.
GetLamport
Serialized arguments for the get_lamport server function.
GetLocalAddr
Serialized arguments for the get_local_addr server function.
GetNbCliPeers
Serialized arguments for the get_nb_cli_peers server function.
GetNbConnectedNeighbours
Serialized arguments for the get_nb_connected_neighbours server function.
GetPeerAddrs
Serialized arguments for the get_peer_addrs server function.
GetPeers
Serialized arguments for the get_peers server function.
GetSiteId
Serialized arguments for the get_site_id server function.
GetSnapshotContent
Serialized arguments for the get_snapshot_content server function.
GetVectorClock
Serialized arguments for the get_vector_clock server function.

Functionsยง

Info
System information component
ask_for_snapshot ๐Ÿ”’
Ask for a snapshot
get_connected_neighbours ๐Ÿ”’
Server function to retrieve the list of connected neighbours
get_db_path ๐Ÿ”’
Server function to retrieve the database path
get_lamport ๐Ÿ”’
Server function to retrieve the current Lamport clock value
get_local_addr ๐Ÿ”’
Server function to retrieve the local network address
get_nb_cli_peers ๐Ÿ”’
Server function to retrieve the number of cli peers
get_nb_connected_neighbours ๐Ÿ”’
Server function to retrieve the number of neighbours in the network
get_peer_addrs ๐Ÿ”’
Server function to retrieve the list of peer addresses
get_peers ๐Ÿ”’
Server function to retrieve the list of connected peers
get_site_id ๐Ÿ”’
Server function to retrieve the current site ID
get_snapshot_content ๐Ÿ”’
Get the latest snapshot content if any
get_vector_clock ๐Ÿ”’
Server function to retrieve the current vector clock state