Struct lunatic::process::Process [−][src]
pub struct Process<T: Message> { /* fields omitted */ }
Expand description
A sandboxed computation.
Processes are fundamental building blocks of Lunatic applications. Each of them has their own
memory space. The only way for processes to interact is trough Message
passing.
Safety:
It’s not safe to use mutable static
variables to share data between processes, because each
of them is going to see a separate heap and a unique static
variable.
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Process<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Process<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more