Crate argdata[−][src]
Please note: This crate is not yet stable. The interface can and will change. Almost nothing is tested yet. Deserialization probably works, but serialization has bugs.
Modules
container_traits |
Traits used for |
env |
Access to the program environment. |
fd |
All the things related to file descriptors. |
values |
Implementations of specific |
Structs
ArgdataRef |
A reference to an argdata value.
Either a substring of an encoded argdata value, or just a |
IntValue |
Represents a signed integer value of any size. |
MapIterator |
An iterator of a map, returned by |
SeqIterator |
An iterator of a sequence, returned by |
StrValue |
Represents a string value. |
Timespec |
A point in time, relative to the unix epoch. |
Enums
NoFit |
The reason why an |
NotRead |
The reason why an |
ReadError |
An error while reading argdata. |
Type |
The type of an argdata value. |
Value |
A (borrowed) argdata value. |
Traits
Argdata |
An argdata value. |
ArgdataExt |
Extra methods for |
Map |
An argdata value representing a map. |
Seq |
An argdata value representing a sequence. |
Functions
bigint |
Create an argdata value representing an arbitrary length 2's complement integer. |
binary |
Create an argdata value representing a binary blob. |
bool |
Create an argdata value representing a boolean. |
encoded |
Create an argdata value directly from an encoded argdata buffer. |
encoded_fd |
Create an argdata value representing a file descriptor attached to the data. |
encoded_with_fds |
Create an argdata value directly from an encoded argdata buffer, which has file descriptors attached. |
float |
Create an argdata value representing a 64-bit floating point value. |
int |
Create an argdata value representing an integer (of fixed width, e.g. |
invalid_fd |
Create an argdata value representing an invalid file descriptor. |
map |
Create an argdata value representing a map. |
null |
Create an argdata value representing null. |
process_fd |
Create an argdata value representing a file descriptor of this process. |
seq |
Create an argdata value representing a sequence. |
str |
Create an argdata value representing a string. |
timestamp |
Create an argdata value representing a point in time. |