summaryrefslogtreecommitdiffstats
path: root/src/types/udp.rs
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2019-08-31 21:00:10 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2019-08-31 21:00:10 +0200
commitd16521f4c75ebee6fa068461693755a5c1863e9f (patch)
tree4eb1ace931180cee33d956da4a000c02377eb525 /src/types/udp.rs
parentReduce number of type parameters in router (diff)
downloadwireguard-rs-d16521f4c75ebee6fa068461693755a5c1863e9f.tar.xz
wireguard-rs-d16521f4c75ebee6fa068461693755a5c1863e9f.zip
Added Bind trait to router
Diffstat (limited to 'src/types/udp.rs')
-rw-r--r--src/types/udp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types/udp.rs b/src/types/udp.rs
index 4bf0a9c..71d5a79 100644
--- a/src/types/udp.rs
+++ b/src/types/udp.rs
@@ -3,7 +3,7 @@ use std::error;
/* Often times an a file descriptor in an atomic might suffice.
*/
-pub trait Bind: Send + Sync {
+pub trait Bind: Send + Sync + 'static {
type Error: error::Error;
type Endpoint: Endpoint;