aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-10-24 01:32:11 -0400
committerJesse Luehrs <doy@tozt.net>2019-10-24 01:32:11 -0400
commita20cae5670f20902379a7098d54e2a9c78b864cd (patch)
treece5cfec1d7e993197398408f335bf28899fe87f6
parenta8923b3b9b52c19a4ca1b98319651ea7a05c9aac (diff)
downloadcomponent-future-a20cae5670f20902379a7098d54e2a9c78b864cd.tar.gz
component-future-a20cae5670f20902379a7098d54e2a9c78b864cd.zip
derive some traits for Async
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index e49a5fb..a4e483e 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -2,6 +2,7 @@
#![warn(clippy::nursery)]
#![allow(clippy::type_complexity)]
+#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum Async<Item> {
// we have a value for the main loop to return immediately.
Ready(Item),