aboutsummaryrefslogtreecommitdiffstats
path: root/src/router/types.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2019-10-09 15:08:26 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2019-10-09 15:08:26 +0200
commit761c46064d7510303f08cde27c9e13b07293f3af (patch)
tree7b914169725952e557223972b3f0b611c54e6829 /src/router/types.rs
parentRestructure dummy implementations (diff)
downloadwireguard-rs-761c46064d7510303f08cde27c9e13b07293f3af.tar.xz
wireguard-rs-761c46064d7510303f08cde27c9e13b07293f3af.zip
Restructure IO traits.
Diffstat (limited to '')
-rw-r--r--src/router/types.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/router/types.rs b/src/router/types.rs
index b7c3ae0..4a72c27 100644
--- a/src/router/types.rs
+++ b/src/router/types.rs
@@ -1,6 +1,8 @@
use std::error::Error;
use std::fmt;
+use super::super::types::Endpoint;
+
pub trait Opaque: Send + Sync + 'static {}
impl<T> Opaque for T where T: Send + Sync + 'static {}