mirror of
https://github.com/OMGeeky/tarpc.git
synced 2025-12-28 07:12:05 +01:00
Don't derive Hash for Config because Duration is only Hashable on nightly
This commit is contained in:
@@ -56,7 +56,7 @@ impl convert::From<io::Error> for Error {
|
||||
}
|
||||
|
||||
/// Configuration for client and server.
|
||||
#[derive(Clone, Copy, Debug, Default, Hash, Eq, Ord, PartialEq, PartialOrd)]
|
||||
#[derive(Clone, Copy, Debug, Default, Eq, Ord, PartialEq, PartialOrd)]
|
||||
pub struct Config {
|
||||
/// Request/Response timeout between packet delivery.
|
||||
pub timeout: Option<Duration>,
|
||||
|
||||
Reference in New Issue
Block a user