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,
    },
    IpcConnected {
        tag: IpcTag,
        handle: PlatformIpcHandle,
    },
    IpcOutput {
        tag: IpcTag,
        buf: PooledBuf,
    },
    IpcClose {
        tag: IpcTag,
    },
}

Variants§

§

Idle

§

ConnectionOpen

Fields

§

ConnectionClose

Fields

§

ConnectionOutput

Fields

§

ProcessSpawned

§

ProcessOutput

Fields

§

ProcessExit

Fields

§

IpcConnected

Fields

§tag: IpcTag
§

IpcOutput

Fields

§tag: IpcTag
§

IpcClose

Fields

§tag: IpcTag

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.