Struct lunatic_runtime::WasmProcess
source · pub struct WasmProcess { /* private fields */ }Expand description
A WasmProcess represents an instance of a Wasm module that is being executed.
They can be created with spawn_wasm, and once spawned they will be
running in the background and can’t be observed directly.
Implementations
sourceimpl WasmProcess
impl WasmProcess
sourcepub fn new(id: u64, signal_mailbox: UnboundedSender<Signal>) -> WasmProcess
pub fn new(id: u64, signal_mailbox: UnboundedSender<Signal>) -> WasmProcess
Create a new WasmProcess
Trait Implementations
sourceimpl Clone for WasmProcess
impl Clone for WasmProcess
sourcefn clone(&self) -> WasmProcess
fn clone(&self) -> WasmProcess
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for WasmProcess
impl Debug for WasmProcess
Auto Trait Implementations
impl !RefUnwindSafe for WasmProcess
impl Send for WasmProcess
impl Sync for WasmProcess
impl Unpin for WasmProcess
impl !UnwindSafe for WasmProcess
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
Query the “status” flags for the
self file descriptor.fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn new_set_fd_flags(&self, fd_flags: FdFlags) -> Result<SetFdFlags<T>, Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
fn set_fd_flags(&mut self, set_fd_flags: SetFdFlags<T>) -> Result<(), Error>where
T: AsFilelike,
Set the “status” flags for the
self file descriptor. Read more