[][src]Crate sp_dto

Re-exports

pub use bytes;
pub use uuid;

Structs

Attachment
CmpSpec
Message

The message itself

MessageRaw

The message itself with payload as raw bytes

MsgMeta

Message meta data. Message passing protocol is build around this structure.

Route

Enums

MsgKind
Participator
Response

Enum used for returning from processing rpc functions in full message mode

ResponseRaw

Enum used for returning from processing rpc functions in raw mode

RouteSpec

At the moment used in case when it is needed to overwrite rpc response receiver

RpcResult

Functions

event_dto
event_dto2
event_dto_with_sizes
get_msg
get_msg_meta
get_msg_meta_and_payload
get_payload
get_payload_with_attachments
reply_to_rpc_dto
reply_to_rpc_dto2_sizes
reply_to_rpc_dto_with_later_attachments2
resp

Helper function for creating responses.

resp_full
resp_raw
resp_raw_full
rpc_dto
rpc_dto2
rpc_dto_with_attachments
rpc_dto_with_attachments2
rpc_dto_with_correlation_id
rpc_dto_with_correlation_id_2
rpc_dto_with_correlation_id_sizes
rpc_dto_with_later_attachments
rpc_dto_with_later_attachments2
rpc_dto_with_sizes