pub enum BufferValueInterpreter {
DefaultStruct,
StackTrace {
field_map: StackTraceFieldMapping,
with_symbols: bool,
},
}
Expand description
Indicate how to inteprete the buffer value polled by the userspace program DefaultStruct - Inteprete the data to a map constructed using BTF StackTrace - Inteprete the data that received as StackTrace data. Will also use BTF, but the user is responsible to provide a function to translate the fields to the corresponding requiring fields
Variants§
Trait Implementations§
Source§impl Clone for BufferValueInterpreter
impl Clone for BufferValueInterpreter
Source§fn clone(&self) -> BufferValueInterpreter
fn clone(&self) -> BufferValueInterpreter
Returns a copy of the value. Read more
1.0.0 · 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 BufferValueInterpreter
impl Debug for BufferValueInterpreter
Source§impl Default for BufferValueInterpreter
impl Default for BufferValueInterpreter
Source§impl<'de> Deserialize<'de> for BufferValueInterpreter
impl<'de> Deserialize<'de> for BufferValueInterpreter
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 for BufferValueInterpreter
impl PartialEq for BufferValueInterpreter
Source§impl Serialize for BufferValueInterpreter
impl Serialize for BufferValueInterpreter
impl Eq for BufferValueInterpreter
impl StructuralPartialEq for BufferValueInterpreter
Auto Trait Implementations§
impl Freeze for BufferValueInterpreter
impl RefUnwindSafe for BufferValueInterpreter
impl Send for BufferValueInterpreter
impl Sync for BufferValueInterpreter
impl Unpin for BufferValueInterpreter
impl UnwindSafe for BufferValueInterpreter
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.