pub struct AttributeContext<'a> {
pub cwd: Option<&'a Path>,
pub proc_start: SystemTime,
pub now: SystemTime,
pub attached: &'a HashSet<PathBuf>,
pub activity_timeout: Duration,
}Expand description
What the collector knows about a process when it asks an adapter which transcript is the process’s.
Fields§
§cwd: Option<&'a Path>§proc_start: SystemTime§now: SystemTime§attached: &'a HashSet<PathBuf>Transcripts already given to another process this pass. An adapter must not hand one out twice.
activity_timeout: DurationA transcript idle for longer than this is a finished conversation, not a thread of a process that cannot otherwise be matched.
Auto Trait Implementations§
impl<'a> Freeze for AttributeContext<'a>
impl<'a> RefUnwindSafe for AttributeContext<'a>
impl<'a> Send for AttributeContext<'a>
impl<'a> Sync for AttributeContext<'a>
impl<'a> Unpin for AttributeContext<'a>
impl<'a> UnsafeUnpin for AttributeContext<'a>
impl<'a> UnwindSafe for AttributeContext<'a>
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