Enum pepper::platform::PlatformRequest
source · 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,
},
ConnectToIpc {
tag: IpcTag,
path: PooledBuf,
read: bool,
write: bool,
read_mode: IpcReadMode,
buf_len: usize,
},
WriteToIpc {
handle: PlatformIpcHandle,
buf: PooledBuf,
},
CloseIpc {
handle: PlatformIpcHandle,
},
}
Variants§
Quit
Redraw
WriteToClient
CloseClient
Fields
§
handle: ClientHandle
SpawnProcess
WriteToProcess
CloseProcessInput
Fields
§
handle: PlatformProcessHandle
KillProcess
Fields
§
handle: PlatformProcessHandle
ConnectToIpc
WriteToIpc
CloseIpc
Fields
§
handle: PlatformIpcHandle