Structs§
- Command
- Command
Reader - Command
Validator - Command
Writer - Frame
- A frame, commonly used to create
Messages andCommands. - Frame
Reader - Frame
Writer - Greeting
- Greeting
Reader - Greeting
Writer - Handshake
- Message
- Message
Reader - Message
Writer - Peer
- A Peer represents a ZMTP communication endpoint that can communicate
bi-directionally. For example it can wrap a
TcpStream, but anything that can bothReadandWritecan be wrapped. - Traffic
- Traffic
Reader - Traffic
Writer
Enums§
- Frame
Kind - Security
Mechanism - Size
- Socket
Type - Traffic
Item - Validate
Result - A validation result.
- Version
Policy - The policy that should be used in version handshaking.
Constants§
- BYTES_
PER_ U64 - The number of bytes in a u64
- NULL_
MECHANISM - U8_MAX
- The largest number that fits inside a u8
Traits§
- Peek
- This trait allows peeking (i.e. non-destructive reading) in
Readers. Non-destructive here refers to the fact that when callingpeek(slice)on the sameslicemultiple times in a row, every call should return the same data. - Peer
Source - This trait is used by
Peerto actually read and write data.