mirror of
https://github.com/servo/servo.git
synced 2025-07-30 10:40:27 +01:00
WorkerId
changed to type UUID.
This commit is contained in:
parent
5c56e661ca
commit
d5475fbc9f
9 changed files with 19 additions and 18 deletions
|
@ -25,7 +25,7 @@ use msg::constellation_msg::PipelineId;
|
|||
use servo_url::ServoUrl;
|
||||
use std::net::TcpStream;
|
||||
use time::{self, Duration, Tm};
|
||||
//use uuid::Uuid;
|
||||
use uuid::Uuid;
|
||||
|
||||
// Information would be attached to NewGlobal to be received and show in devtools.
|
||||
// Extend these fields if we need more information.
|
||||
|
@ -357,5 +357,5 @@ impl PreciseTime {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Deserialize, Eq, Hash, MallocSizeOf, PartialEq, Serialize)]
|
||||
pub struct WorkerId(pub String);
|
||||
#[derive(Clone, Copy, Debug, Deserialize, Eq, Hash, MallocSizeOf, PartialEq, Serialize)]
|
||||
pub struct WorkerId(pub Uuid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue