diff --git a/src/reactor/timeout.rs b/src/reactor/timeout.rs index e1a8f3f7a..5c96e5b0e 100644 --- a/src/reactor/timeout.rs +++ b/src/reactor/timeout.rs @@ -18,6 +18,7 @@ use reactor::timeout_token::TimeoutToken; /// Note that timeouts are not intended for high resolution timers, but rather /// they will likely fire some granularity after the exact instant that they're /// otherwise indicated to fire at. +#[derive(Debug)] pub struct Timeout { token: TimeoutToken, when: Instant, diff --git a/src/reactor/timeout_token.rs b/src/reactor/timeout_token.rs index 9b6e5feb1..d27cfaea9 100644 --- a/src/reactor/timeout_token.rs +++ b/src/reactor/timeout_token.rs @@ -6,6 +6,7 @@ use futures::task; use reactor::{Message, Handle, Remote}; /// A token that identifies an active timeout. +#[derive(Debug)] pub struct TimeoutToken { token: usize, }