pub struct MapMeta {
pub name: String,
pub ident: String,
pub mmaped: bool,
pub sample: Option<MapSampleMeta>,
pub export_config: MapExportConfig,
pub intepreter: BufferValueInterpreter,
}
Expand description
Describe a map
Fields§
§name: String
Name of the map
ident: String
TODO: get to know what’s this
mmaped: bool
Whether the value of this map will be used to describe a data section
sample: Option<MapSampleMeta>
Extra info if this map will be used for sampling
export_config: MapExportConfig
The export config of this map
intepreter: BufferValueInterpreter
How to intepreter the buffer value of this map. Only applies if this map if a buffer value map (perf event or ringbuf)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MapMeta
impl<'de> Deserialize<'de> for MapMeta
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 MapMeta
impl StructuralPartialEq for MapMeta
Auto Trait Implementations§
impl Freeze for MapMeta
impl RefUnwindSafe for MapMeta
impl Send for MapMeta
impl Sync for MapMeta
impl Unpin for MapMeta
impl UnwindSafe for MapMeta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.