pub struct AsyncProfilingConfig {
pub enabled: bool,
pub track_spawns: bool,
pub track_completion: bool,
pub max_tracked_tasks: usize,
pub task_timeout_threshold_ms: u64,
}
Expand description
Async profiling configuration
Fields§
§enabled: bool
Enable async profiling
track_spawns: bool
Track task spawns
track_completion: bool
Track task completion
max_tracked_tasks: usize
Maximum tasks to track
task_timeout_threshold_ms: u64
Task timeout threshold in milliseconds
Trait Implementations§
Source§impl Clone for AsyncProfilingConfig
impl Clone for AsyncProfilingConfig
Source§fn clone(&self) -> AsyncProfilingConfig
fn clone(&self) -> AsyncProfilingConfig
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 AsyncProfilingConfig
impl Debug for AsyncProfilingConfig
Source§impl<'de> Deserialize<'de> for AsyncProfilingConfig
impl<'de> Deserialize<'de> for AsyncProfilingConfig
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 AsyncProfilingConfig
impl RefUnwindSafe for AsyncProfilingConfig
impl Send for AsyncProfilingConfig
impl Sync for AsyncProfilingConfig
impl Unpin for AsyncProfilingConfig
impl UnwindSafe for AsyncProfilingConfig
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