pub struct FrameSession { /* private fields */ }Expand description
The frames of one session; clones of the Arc share them.
Implementations§
Source§impl FrameSession
impl FrameSession
Sourcepub fn new(store: Arc<dyn TraceStore>) -> Arc<Self> ⓘ
pub fn new(store: Arc<dyn TraceStore>) -> Arc<Self> ⓘ
A session whose traces live in store; frames run on their callers’ threads until Self::set_tasks.
Sourcepub fn set_tasks(&self, tasks: Arc<dyn FrameTasks>)
pub fn set_tasks(&self, tasks: Arc<dyn FrameTasks>)
Admit every later frame through tasks (set once).
Auto Trait Implementations§
impl !Freeze for FrameSession
impl !RefUnwindSafe for FrameSession
impl !UnwindSafe for FrameSession
impl Forget for FrameSession
impl Move for FrameSession
impl Send for FrameSession
impl Sync for FrameSession
impl Unpin for FrameSession
impl UnsafeUnpin for FrameSession
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