Expand description
§Diffusion
Diffusion is a static library that provides several transport with a unified interface for messages based sub-pub style communication.
Structs§
- File
Reader - is a reader that reads from a file. This file needs to be generated by a corresponding writer. Currently it does not support a growing file, e.g. files cannot be modified during read.
- File
Writer - is a writer for file. It can only start to write a new file but not append to an existing file.
- Multicast
Reader - is reader for multicast. Reads the UDP packet multicasted from writer. Each packet is a message.
- Multicast
Writer - is writer for multicast.
MulticastWriter
uses the natual UDP packet as message boundary.
Enums§
- Error
- represents errors that can be encountered during the usage of of reader and writer.
Traits§
Type Aliases§
- Result
- is an alias for crate level result derived from the crate level
Error
.