[][src]Enum sunrise_shell::Job

pub enum Job {
    BuiltIn {
        thread: Thread,
    },
    Process {
        pid: u64,
    },
}

Represents a command currently running.

Commands can either be built-in, in which case they are represented by a thread handle, or a different process which is represented by a pid.

Variants

BuiltIn

This job is a builtin running in a separate thread.

Fields of BuiltIn

thread: Thread

This job's underlying thread handle.

Process

This job is an external binary running in a different process.

Fields of Process

pid: u64

This job's underlying pid.

Implementations

impl Job[src]

pub fn start(&self, loader: &ILoaderInterfaceProxy) -> Result<(), Error>[src]

Let this job start running.

Trait Implementations

impl Debug for Job[src]

Auto Trait Implementations

impl !RefUnwindSafe for Job

impl Send for Job

impl Sync for Job

impl Unpin for Job

impl UnwindSafe for Job

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SetParameter for T

impl<T> SizedIPCBuffer for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.