Crate arrows_common
Source pub use common::config::Config;
- common
- Common
Common interface between implementation and client usage
- Addr
- Unique actor addresses based on IP, PORT and names. Some fields are later extension points
- Msg
- The actual payload received by actors inside a Mail enum construct
- Action
- Msg content type can also be Command.
Action represents tasks
corresponding to Commands. - Error
- #Error
Various error messages during the arrows execution path.
- Mail
- The Mail enum which could be Trade(single message), Bulk(multiple messages) or Blank
- Actor
- Actor
- Producer
- Producer
- compute_hash
- Compute the hash for a struct like Addr
- from_bytes
- Reconstruct a type from array of bytes such as Msg
Reconstructed type must be serde json Derserialize
- option_of_bytes
- Convert a type into byte representation such as Addr
The type needs to be serde json serializable - uses bincode underneath.
- Result
- Success cases mostly related to the Mail enum, error cases are this crates’ exposed erros