Crate cloudi

Source
Expand description

§Rust CloudI API

Macros§

fatal
fatal error macro for using panic!
unwrap
unwrap macro (like ?) for handling the Terminate error in a callback

Structs§

API
an instance of the CloudI API
Error
Error data
TransId
service request transaction id

Enums§

ErrorKind
Error description
RequestType
provided when handling a service request
Response
service request callback function return type

Functions§

info_key_value_new
encode service response info key/value data
info_key_value_parse
decode service request info key/value data
process_count_max
the count_process_dynamic maximum count based on the service configuration
process_count_min
the count_process_dynamic minimum count based on the service configuration
process_index
the 0-based index of this process in the service instance
thread_count
the number of threads to create per operating system process
timeout_initialize
the service initialization timeout from the service configuration
timeout_terminate
the service termination timeout based on the service configuration

Type Aliases§

Callback
a function pointer to handle a service request
Priority
the service request priority when queued
Result
Source
the Erlang pid that is the source of the service request
Timeout
the timeout value in milliseconds