rf-distributed 0.6.0

Distributed abstractions for the RuFi project
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub mod asynchronous;
pub mod sync;

/// This type represent the result of a network operation
pub type NetworkResult<T> = Result<T, Box<dyn std::error::Error>>;

/// This enum represent the different update we will receive from the network
pub enum NetworkUpdate {
    /// No message received
    None,
    /// A message has been received
    Update { msg: String },
}