pub enum IpcSelectionResult {
    MessageReceived(u64OpaqueIpcMessage),
    ChannelClosed(u64),
}
Expand description

Result for readable events returned from IpcReceiverSet::select.

Variants

MessageReceived(u64OpaqueIpcMessage)

A message received from the IpcReceiver in the opaque form, identified by the u64 value.

ChannelClosed(u64)

The channel has been closed for the IpcReceiver identified by the u64 value. IpcReceiver: struct.IpcReceiver.html

Implementations

Helper method to move the value out of the IpcSelectionResult if it is MessageReceived.

Panics

If the result is ChannelClosed this call will panic.

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.