diff options
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>; } |