Enum lunatic_process::Finished
source · pub enum Finished<T> {
Normal(T),
KillSignal,
}
Expand description
The reason of a process finishing
Variants§
Normal(T)
This just means that the process finished without external interaction. In case of Wasm this could mean that the entry function returned normally or that it trapped.
KillSignal
The process was terminated by an external Kill
signal.
Auto Trait Implementations§
impl<T> RefUnwindSafe for Finished<T>where T: RefUnwindSafe,
impl<T> Send for Finished<T>where T: Send,
impl<T> Sync for Finished<T>where T: Sync,
impl<T> Unpin for Finished<T>where T: Unpin,
impl<T> UnwindSafe for Finished<T>where T: UnwindSafe,
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
§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.