Update ipc-channel to 0.6.3

This commit is contained in:
Anthony Ramine 2017-02-14 01:49:01 +01:00
parent 3d98e30909
commit 85e2648ffc
32 changed files with 133 additions and 91 deletions

View file

@ -39,12 +39,12 @@ use hyper::header::{ContentType, Headers, ReferrerPolicy as ReferrerPolicyHeader
use hyper::http::RawStatus;
use hyper::mime::{Attr, Mime};
use hyper_serde::Serde;
use ipc_channel::SerializeError;
use ipc_channel::ipc::{self, IpcReceiver, IpcSender};
use ipc_channel::router::ROUTER;
use request::{Request, RequestInit};
use response::{HttpsState, Response};
use servo_url::ServoUrl;
use std::io::Error as IOError;
use storage_thread::StorageThreadMsg;
use websocket::header;
@ -266,7 +266,7 @@ impl<T: FetchResponseListener> Action<T> for FetchResponseMsg {
/// Handle to a resource thread
pub type CoreResourceThread = IpcSender<CoreResourceMsg>;
pub type IpcSendResult = Result<(), IOError>;
pub type IpcSendResult = Result<(), SerializeError>;
/// Abstraction of the ability to send a particular type of message,
/// used by net_traits::ResourceThreads to ease the use its IpcSender sub-fields