#[non_exhaustive]pub struct SessionInfo {
pub label: Path,
pub root: Path,
}Expand description
A connected session or admitted request, as Handle::session and
Handle::request record it.
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.label: PathThe session’s resolved stats label.
root: PathThe origin root the session is scoped to, empty (the default) for none.
Fixed for the session’s life: a Session::retag keeps it.
Implementations§
Trait Implementations§
Source§impl Clone for SessionInfo
impl Clone for SessionInfo
Auto Trait Implementations§
impl Freeze for SessionInfo
impl RefUnwindSafe for SessionInfo
impl Send for SessionInfo
impl Sync for SessionInfo
impl Unpin for SessionInfo
impl UnsafeUnpin for SessionInfo
impl UnwindSafe for SessionInfo
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