pub struct SerialRegionV2 {
pub version: u16,
pub scope: SerialScopeV2,
pub subject: String,
pub wall_ns: u64,
pub share_ppm: u64,
pub concurrency_milli: u64,
pub worker_count: u64,
pub exclusivity_ppm: u64,
pub declared: bool,
}Expand description
One region that held the wall clock without using the pool.
Fields§
§version: u16§scope: SerialScopeV2§subject: String§wall_ns: u64§concurrency_milli: u64Average workers inside the region, in thousandths.
worker_count: u64§exclusivity_ppm: u64Share of the work recorded during this window that belongs to this region, in parts per million. An inclusive wrapper span scores low because its children run inside it; a real barrier scores near one.
declared: boolTrue when a caller declared the region serial with serial_span.
Trait Implementations§
Source§impl Clone for SerialRegionV2
impl Clone for SerialRegionV2
Source§fn clone(&self) -> SerialRegionV2
fn clone(&self) -> SerialRegionV2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SerialRegionV2
impl Debug for SerialRegionV2
Source§impl<'de> Deserialize<'de> for SerialRegionV2
impl<'de> Deserialize<'de> for SerialRegionV2
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
impl Eq for SerialRegionV2
Source§impl PartialEq for SerialRegionV2
impl PartialEq for SerialRegionV2
Source§impl Serialize for SerialRegionV2
impl Serialize for SerialRegionV2
impl StructuralPartialEq for SerialRegionV2
Auto Trait Implementations§
impl Freeze for SerialRegionV2
impl RefUnwindSafe for SerialRegionV2
impl Send for SerialRegionV2
impl Sync for SerialRegionV2
impl Unpin for SerialRegionV2
impl UnsafeUnpin for SerialRegionV2
impl UnwindSafe for SerialRegionV2
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