Merge branch 'master' into ipc-doc-effort

This commit is contained in:
NikVolf 2016-04-12 15:16:05 +03:00
commit 5a5f13205e

View File

@ -59,7 +59,7 @@ pub enum Error {
/// Allows implementor to be attached to generic worker and dispatch rpc requests /// Allows implementor to be attached to generic worker and dispatch rpc requests
/// over IPC /// over IPC
pub trait IpcInterface<T>:IpcConfig { pub trait IpcInterface<T>: IpcConfig {
/// reads the message from io, dispatches the call and returns serialized result /// reads the message from io, dispatches the call and returns serialized result
fn dispatch<R>(&self, r: &mut R) -> Vec<u8> where R: Read; fn dispatch<R>(&self, r: &mut R) -> Vec<u8> where R: Read;