vopono_core 1.0.1

Library code for running VPN connections in network namespaces
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::Provider;
use crate::config::vpn::Protocol;

pub struct Warp {}

impl Provider for Warp {
    fn alias(&self) -> String {
        "warp".to_string()
    }

    fn alias_2char(&self) -> String {
        "wp".to_string()
    }

    fn default_protocol(&self) -> Protocol {
        Protocol::Warp
    }
}