timeout: Add derive Clone for the timeout service (#169)
This commit is contained in:
parent
8241fe8584
commit
d874c251ff
|
@ -19,7 +19,7 @@ use std::time::Duration;
|
|||
use std::{error, fmt};
|
||||
|
||||
/// Applies a timeout to requests.
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Timeout<T> {
|
||||
inner: T,
|
||||
timeout: Duration,
|
||||
|
|
Loading…
Reference in New Issue