Improve error handling of default directory

This commit is contained in:
Age Manning
2019-07-02 17:32:14 +10:00
parent dd410535cb
commit 1aeec12b78
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;