Struct bpf_loader_lib::meta::MapMeta
source · pub struct MapMeta {
pub name: String,
pub ident: String,
pub mmaped: bool,
pub sample: Option<MapSampleMeta>,
pub export_config: MapExportConfig,
}
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
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
source§impl PartialEq<MapMeta> for MapMeta
impl PartialEq<MapMeta> for MapMeta
impl Eq for MapMeta
impl StructuralEq for MapMeta
impl StructuralPartialEq for MapMeta
Auto Trait Implementations§
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.