pub struct Config {
pub blocking: LockingStrategy,
pub native: bool,
/* private fields */
}
Expand description
Options on how to collect samples from a python process
Fields§
§blocking: LockingStrategy
Whether or not we should stop the python process when taking samples. Setting this to false will reduce the performance impact on the target python process, but can lead to incorrect results like partial stack traces being returned or a higher sampling error rate
native: bool
Whether or not to profile native extensions. Note: this option can not be used with the nonblocking option, as we have to pause the process to collect the native stack traces
Implementations§
Trait Implementations§
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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