mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Moved WorkerId type to devtools_traits
This commit is contained in:
parent
95e6b1d101
commit
b81f712ce1
9 changed files with 17 additions and 16 deletions
|
@ -30,7 +30,7 @@ use hyper::header::Headers;
|
|||
use hyper::http::RawStatus;
|
||||
use hyper::method::Method;
|
||||
use ipc_channel::ipc::IpcSender;
|
||||
use msg::constellation_msg::{PipelineId, WorkerId};
|
||||
use msg::constellation_msg::PipelineId;
|
||||
use rustc_serialize::{Decodable, Decoder};
|
||||
use std::net::TcpStream;
|
||||
use time::Duration;
|
||||
|
@ -319,3 +319,6 @@ impl PreciseTime {
|
|||
Duration::nanoseconds((later.0 - self.0) as i64)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, PartialEq, Eq, Copy, Hash, Debug, Deserialize, Serialize, HeapSizeOf)]
|
||||
pub struct WorkerId(pub u32);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue