diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-11-15 15:32:36 +0100 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2019-11-15 15:32:36 +0100 |
commit | 05710c455f1c759cf9bc1a1eaa6307fe564f15cc (patch) | |
tree | c671d703d0db93a9bc8f27d0e2b02d0422120352 /src/platform/tun.rs | |
parent | Initial version of full UAPI parser (diff) | |
download | wireguard-rs-05710c455f1c759cf9bc1a1eaa6307fe564f15cc.tar.xz wireguard-rs-05710c455f1c759cf9bc1a1eaa6307fe564f15cc.zip |
Update UAPI semantics for remove
Diffstat (limited to 'src/platform/tun.rs')
-rw-r--r-- | src/platform/tun.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/platform/tun.rs b/src/platform/tun.rs index f49d4af..c92304a 100644 --- a/src/platform/tun.rs +++ b/src/platform/tun.rs @@ -56,6 +56,6 @@ pub trait Tun: Send + Sync + 'static { } /// On some platforms the application can create the TUN device itself. -pub trait Platform: Tun { +pub trait PlatformTun: Tun { fn create(name: &str) -> Result<(Vec<Self::Reader>, Self::Writer, Self::MTU), Self::Error>; } |