Enum pepper::platform::PlatformEvent[][src]

pub enum PlatformEvent {
    Idle,
    ConnectionOpen {
        handle: ClientHandle,
    },
    ConnectionClose {
        handle: ClientHandle,
    },
    ConnectionOutput {
        handle: ClientHandle,
        buf: PooledBuf,
    },
    ProcessSpawned {
        tag: ProcessTag,
        handle: PlatformProcessHandle,
    },
    ProcessOutput {
        tag: ProcessTag,
        buf: PooledBuf,
    },
    ProcessExit {
        tag: ProcessTag,
    },
}

Variants

Idle
ConnectionOpen

Fields of ConnectionOpen

handle: ClientHandle
ConnectionClose

Fields of ConnectionClose

handle: ClientHandle
ConnectionOutput

Fields of ConnectionOutput

handle: ClientHandlebuf: PooledBuf
ProcessSpawned

Fields of ProcessSpawned

tag: ProcessTaghandle: PlatformProcessHandle
ProcessOutput

Fields of ProcessOutput

tag: ProcessTagbuf: PooledBuf
ProcessExit

Fields of ProcessExit

tag: ProcessTag

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.