pub enum HotSpotKeyValue {
File {
path: PathBuf,
},
Function {
path: PathBuf,
name: String,
},
}Expand description
The aggregation key for a single (file, name?) slot. Carries the
function name only for HotSpotKey::Function aggregation; on File
every name is None and the slot collapses across function
events that share a path.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HotSpotKeyValue
impl Clone for HotSpotKeyValue
Source§fn clone(&self) -> HotSpotKeyValue
fn clone(&self) -> HotSpotKeyValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HotSpotKeyValue
impl Debug for HotSpotKeyValue
impl Eq for HotSpotKeyValue
Source§impl Ord for HotSpotKeyValue
impl Ord for HotSpotKeyValue
Source§fn cmp(&self, other: &HotSpotKeyValue) -> Ordering
fn cmp(&self, other: &HotSpotKeyValue) -> Ordering
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
Source§impl PartialEq for HotSpotKeyValue
impl PartialEq for HotSpotKeyValue
Source§fn eq(&self, other: &HotSpotKeyValue) -> bool
fn eq(&self, other: &HotSpotKeyValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for HotSpotKeyValue
impl PartialOrd for HotSpotKeyValue
impl StructuralPartialEq for HotSpotKeyValue
Auto Trait Implementations§
impl Freeze for HotSpotKeyValue
impl RefUnwindSafe for HotSpotKeyValue
impl Send for HotSpotKeyValue
impl Sync for HotSpotKeyValue
impl Unpin for HotSpotKeyValue
impl UnsafeUnpin for HotSpotKeyValue
impl UnwindSafe for HotSpotKeyValue
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