pub struct CellKey {
pub tid: u64,
pub region: String,
pub partition_idx: Option<u64>,
}Expand description
The join key. partition_idx is the chunk/work-unit identity (gzippy’s
chunk_id); region is the span-name (or a class label). tid is the
producer thread. A time-window is implied by the span the key was minted
from — the bundle stores the explicit [ts_start, ts_end) alongside.
Fields§
§tid: u64§region: String§partition_idx: Option<u64>None when the span carried no chunk_id/partition_idx arg.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CellKey
impl<'de> Deserialize<'de> for CellKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CellKey
Source§impl Ord for CellKey
impl Ord for CellKey
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for CellKey
impl PartialOrd for CellKey
impl StructuralPartialEq for CellKey
Auto Trait Implementations§
impl Freeze for CellKey
impl RefUnwindSafe for CellKey
impl Send for CellKey
impl Sync for CellKey
impl Unpin for CellKey
impl UnsafeUnpin for CellKey
impl UnwindSafe for CellKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more