#[non_exhaustive]pub struct SessionEntry {
pub tier: Tier,
pub root: Path,
pub label: Path,
pub presence: Presence,
pub closed: bool,
}Expand description
One (tier, root, label) row of a Report.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.tier: TierThe tier the sessions recorded under.
root: PathThe root the sessions are scoped to, empty for sessions without one.
label: PathThe label the sessions record under, empty for sessions without one.
presence: PresenceCumulative request admissions and connect/disconnect gauge.
closed: boolThis is the label’s final readout: its last session or request ended, so the registry pruned it, and a later context under the label starts from zero.
Trait Implementations§
Source§impl Clone for SessionEntry
impl Clone for SessionEntry
Auto Trait Implementations§
impl Freeze for SessionEntry
impl RefUnwindSafe for SessionEntry
impl Send for SessionEntry
impl Sync for SessionEntry
impl Unpin for SessionEntry
impl UnsafeUnpin for SessionEntry
impl UnwindSafe for SessionEntry
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