Enum zinoma::engine::target_actor::ActorInputMessage
source · pub enum ActorInputMessage {
Requested {
kind: ExecutionKind,
requester: ActorId,
},
Unrequested {
kind: ExecutionKind,
requester: ActorId,
},
Ok {
kind: ExecutionKind,
target_id: TargetId,
actual: bool,
},
Invalidated {
kind: ExecutionKind,
target_id: TargetId,
},
}
Variants§
Requested
Indicates the execution of the build scripts or services behind this target are requested.
This message should only be sent to direct dependencies.
Unrequested
Indicates the execution of the build scripts or services behind this target are no more requested by the provided requester.
This message should only be sent to direct dependencies.
Ok
Indicates the execution of the build scripts behind the provided target are Ok.
If kind is Build
, Ok means one of the following:
- There is no build script behind this target;
- All build scripts have been executed or skipped, and therefore, their output resources are available.
If kind is Service
, Ok means one of the following:
- There is no service behind this target;
- All services have been started and are currently running.
actual
should be true
if there is an actual build/service behind this target.
This message should only be sent to build requesters.
Invalidated
Indicates the build scripts or services behind the target are not OK anymore.
The requester should invalidate the previously sent Ok
.
Trait Implementations§
source§impl Clone for ActorInputMessage
impl Clone for ActorInputMessage
source§fn clone(&self) -> ActorInputMessage
fn clone(&self) -> ActorInputMessage
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more