rd-std 0.1.0

std for rabbit-digger
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use rd_interface::{
    registry::{EmptyConfig, NetFactory},
    NotImplementedNet, Result,
};

pub struct NoopNet;

impl NetFactory for NoopNet {
    const NAME: &'static str = "noop";
    type Config = EmptyConfig;
    type Net = NotImplementedNet;

    fn new(_nets: Vec<rd_interface::Net>, _config: Self::Config) -> Result<Self::Net> {
        Ok(NotImplementedNet)
    }
}