pub struct ProcessScope { /* private fields */ }Expand description
Wrapper that sets up task-local context for a process.
This struct holds the context and sets up task-local storage
so that functions like current_pid(), recv(), etc. can access it.
Implementations§
Source§impl ProcessScope
impl ProcessScope
Auto Trait Implementations§
impl !RefUnwindSafe for ProcessScope
impl !UnwindSafe for ProcessScope
impl Freeze for ProcessScope
impl Send for ProcessScope
impl Sync for ProcessScope
impl Unpin for ProcessScope
impl UnsafeUnpin for ProcessScope
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