pub struct RunnerConfig {
pub print_kernel_debug: bool,
}
Expand description
Global config to control the behavior of eunomia-bpf TODO: load config from json or config files
Fields§
§print_kernel_debug: bool
whether we should print the bpf_printk from /sys/kernel/debug/tracing/trace_pipe
Trait Implementations§
Source§impl Clone for RunnerConfig
impl Clone for RunnerConfig
Source§fn clone(&self) -> RunnerConfig
fn clone(&self) -> RunnerConfig
Returns a duplicate 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 RunnerConfig
impl Debug for RunnerConfig
Source§impl Default for RunnerConfig
impl Default for RunnerConfig
Source§fn default() -> RunnerConfig
fn default() -> RunnerConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RunnerConfig
impl<'de> Deserialize<'de> for RunnerConfig
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
Auto Trait Implementations§
impl Freeze for RunnerConfig
impl RefUnwindSafe for RunnerConfig
impl Send for RunnerConfig
impl Sync for RunnerConfig
impl Unpin for RunnerConfig
impl UnwindSafe for RunnerConfig
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