Type Alias gear_common::event::MessageWokenReason

source ·
pub type MessageWokenReason = Reason<MessageWokenRuntimeReason, MessageWokenSystemReason>;
Expand description

Composite reason for messages waking.

Aliased Type§

enum MessageWokenReason {
    Runtime(MessageWokenRuntimeReason),
    System(MessageWokenSystemReason),
}

Variants§

§

Runtime(MessageWokenRuntimeReason)

Runtime reason variant.

This means that actor explicitly forced some action, which this reason explains.

§

System(MessageWokenSystemReason)

System reason variant.

This means that system automatically forced some action, which this reason explains.