Improve error handling of default directory

This commit is contained in:
Age Manning
2019-07-02 17:32:14 +10:00
parent 6c18b417c3
commit 76371659e9
4 changed files with 48 additions and 16 deletions

View File

@@ -11,7 +11,6 @@ use tokio::io::{AsyncRead, AsyncWrite};
const MAX_READ_SIZE: usize = 4_194_304; // 4M
/// Implementation of the `ConnectionUpgrade` for the rpc protocol.
#[derive(Debug, Clone)]
pub struct RPCProtocol;