Enum pepper::platform::PlatformRequest[][src]

pub enum PlatformRequest {
    Quit,
    Redraw,
    WriteToClient {
        handle: ClientHandle,
        buf: PooledBuf,
    },
    CloseClient {
        handle: ClientHandle,
    },
    SpawnProcess {
        tag: ProcessTag,
        command: Command,
        buf_len: usize,
    },
    WriteToProcess {
        handle: PlatformProcessHandle,
        buf: PooledBuf,
    },
    CloseProcessInput {
        handle: PlatformProcessHandle,
    },
    KillProcess {
        handle: PlatformProcessHandle,
    },
}

Variants

Quit
Redraw
WriteToClient

Fields of WriteToClient

handle: ClientHandlebuf: PooledBuf
CloseClient

Fields of CloseClient

handle: ClientHandle
SpawnProcess

Fields of SpawnProcess

tag: ProcessTagcommand: Commandbuf_len: usize
WriteToProcess

Fields of WriteToProcess

handle: PlatformProcessHandlebuf: PooledBuf
CloseProcessInput

Fields of CloseProcessInput

handle: PlatformProcessHandle
KillProcess

Fields of KillProcess

handle: PlatformProcessHandle

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.