Module utils

Source
Expand description

macros,builders, etc.

Macros§

produce
Generate an empty process instance
produce_data
Generate an empty process instance with data
produce_data_future
Generate a process instance for a given future with data
produce_emit
Add an emit component to the process producer, and get emit sender
produce_future
Generate a process instance for a given future
produce_query
Add a query component to the process producer, and get query sender and reply receiver
produce_read
Add an read component to the process producer, and get read receiver
produce_ref_read
Add read by reference component to the process producer
produce_reply1
Add a reply-to-query component of type 1 to the process producer
produce_reply2
Add a reply-to-query component of type 2 to the process producer

Structs§

ArchData
Silx archive data
ProcessInstance
Process instance for a servant
ProcessProducer
Process producer which manages the construction of a servant instance
StarterProducer
Builder for silx network, including clusters definitions only
StarterProducerWithFlow
Builder for silx network starter, including clusters definitions with: servants names and builder files; data channels names, types and builder files
StarterProducerWithProcesses
Builder for silx network starter, including clusters definitions with servants names and builder files

Enums§

Filed
Filed data type
FiledStarter
Filed definition of a starter, i.e. this definition contains files names in order to serialize into different sub-files.
MsgFromServant
Task request from a servant to the master of a cluster
RecFiled
Recursive filed data type
ReplyToServant
Message from the master of a cluster to a servant following a request
Starter
Unfiled definition of a starter

Traits§

ArchSized
A trait helper for building a sized archive from a slx data
Filable
Properties of a type containing a variable data structure partially stored by means of several serialization files
ServantBuilder
Trait with serde tag and main servant builder implementations
ServantBuilderParameters
Trait for defining servant builder parameters
SlxData
A marker for data exchanged through silx channels

Functions§

terminated
Asynchroneous process which is permanently pending

Type Aliases§

PinArchData
Pinned mutable reference to silx archive data
SendToMaster
Alias for a channel sender from servant to master