Crate arrows_common

Crate arrows_common 

Source

Re-exports§

pub use common::config::Config;

Modules§

common
Common Common interface between implementation and client usage

Structs§

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

Enums§

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

Traits§

Actor
Actor
Producer
Producer

Functions§

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.

Type Aliases§

Result
Success cases mostly related to the Mail enum, error cases are this crates’ exposed erros