From 32c72f0925140baa4ecf1a969d604f6c9506bb4c Mon Sep 17 00:00:00 2001 From: Alan Jeffrey Date: Wed, 23 Mar 2016 16:49:18 -0500 Subject: Added ability to randomly kill pipelines to the constellation. --- components/msg/constellation_msg.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'components/msg') diff --git a/components/msg/constellation_msg.rs b/components/msg/constellation_msg.rs index 851857ee738..8c1c02feaf0 100644 --- a/components/msg/constellation_msg.rs +++ b/components/msg/constellation_msg.rs @@ -314,13 +314,13 @@ impl PipelineNamespace { thread_local!(pub static PIPELINE_NAMESPACE: Cell> = Cell::new(None)); -#[derive(Clone, PartialEq, Eq, Copy, Hash, Debug, Deserialize, Serialize, HeapSizeOf)] +#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Copy, Hash, Debug, Deserialize, Serialize, HeapSizeOf)] pub struct PipelineNamespaceId(pub u32); -#[derive(Clone, PartialEq, Eq, Copy, Hash, Debug, Deserialize, Serialize, HeapSizeOf)] +#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Copy, Hash, Debug, Deserialize, Serialize, HeapSizeOf)] pub struct PipelineIndex(pub u32); -#[derive(Clone, PartialEq, Eq, Copy, Hash, Debug, Deserialize, Serialize, HeapSizeOf)] +#[derive(Clone, PartialEq, Eq, PartialOrd, Ord, Copy, Hash, Debug, Deserialize, Serialize, HeapSizeOf)] pub struct PipelineId { pub namespace_id: PipelineNamespaceId, pub index: PipelineIndex -- cgit v1.2.3