1 2 3 4 5 6 7 8 9 10 11
/// Network mode. #[derive(Clone, Debug)] pub enum Network { Pasta(super::Pasta), } impl From<super::Pasta> for Network { fn from(val: super::Pasta) -> Self { Self::Pasta(val) } }