aboutsummaryrefslogtreecommitdiffstats
path: root/src/types/udp.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/types/udp.rs')
-rw-r--r--src/types/udp.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/types/udp.rs b/src/types/udp.rs
index 71d5a79..943bf94 100644
--- a/src/types/udp.rs
+++ b/src/types/udp.rs
@@ -3,8 +3,8 @@ use std::error;
/* Often times an a file descriptor in an atomic might suffice.
*/
-pub trait Bind: Send + Sync + 'static {
- type Error: error::Error;
+pub trait Bind: Send + Sync + Clone + 'static {
+ type Error: error::Error + Send;
type Endpoint: Endpoint;
fn new() -> Self;