netropy 0.2.0

allows minimal network simulation
Documentation
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

#[derive(Error, Debug)]
pub enum SimError {
    #[error("link delivery failed")]
    LinkDeliveryError,
    #[error("node {0} not found")]
    UnknownNode(String),
    #[error("simulation has ended")]
    SimulationEnded,
}