Grand refactoring

This commit is contained in:
Aleksey Kladov
2018-08-29 18:03:14 +03:00
parent 2007ccfcfe
commit 8abf536343
14 changed files with 591 additions and 484 deletions

View File

@@ -35,7 +35,7 @@ use crossbeam_channel::bounded;
use flexi_logger::{Logger, Duplicate};
use ::{
io::{Io, RawMsg, RawResponse, RawRequest, RawNotification},
io::{Io, RawMsg, RawResponse, RawNotification},
};
pub type Result<T> = ::std::result::Result<T, ::failure::Error>;
@@ -109,7 +109,6 @@ fn initialize(io: &mut Io) -> Result<()> {
enum Task {
Respond(RawResponse),
Request(RawRequest),
Notify(RawNotification),
Die(::failure::Error),
}