rd_std/builtin/
noop.rs

1use rd_interface::{
2    registry::{EmptyConfig, NetFactory},
3    NotImplementedNet, Result,
4};
5
6pub struct NoopNet;
7
8impl NetFactory for NoopNet {
9    const NAME: &'static str = "noop";
10    type Config = EmptyConfig;
11    type Net = NotImplementedNet;
12
13    fn new(_nets: Vec<rd_interface::Net>, _config: Self::Config) -> Result<Self::Net> {
14        Ok(NotImplementedNet)
15    }
16}