Crate argdata

source ·
Expand description

Please note: This crate is not yet stable. Deserialization is mostly stable and tested, but the serialization interface is probably going to change, and might have bugs.

Modules

Traits used for Seq and Map value implementations.
Access to the program environment.
All the things related to file descriptors.
Implementations of specific Argdata types. Use the functions in the root of this crate to create them.

Structs

A reference to an argdata value. Either a substring of an encoded argdata value, or just a &Argdata.
Represents a signed integer value of any size.
An iterator, iterating over an argdata map.
An iterator, iterating over an argdata sequence.
Represents a string value.
A point in time, relative to the unix epoch.

Enums

The reason why an Argdata::read_*() call didn’t return a value, when there was no read error.
The reason why an Argdata::read_*() call didn’t return a value.
An error while reading argdata.
The type of an argdata value.
A (borrowed) argdata value.

Traits

An argdata value.
Extra methods for Argdata values.
Something that can be iterated over using a MapIterator.
Something that can be iterated over using a SeqIterator.

Functions

Create an argdata value representing an arbitrary length 2’s complement integer.
Create an argdata value representing a binary blob.
Create an argdata value representing a boolean.
Create an argdata value directly from an encoded argdata buffer.
Create an argdata value representing a file descriptor attached to the data.
Create an argdata value directly from an encoded argdata buffer, which has file descriptors attached.
Create an argdata value representing a 64-bit floating point value.
Create an argdata value representing an integer (of fixed width, e.g. i32).
Create an argdata value representing an invalid file descriptor.
Create an argdata value representing a map.
Create an argdata value representing null.
Create an argdata value representing a file descriptor of this process.
Create an argdata value representing a sequence.
Create an argdata value representing a string.
Create an argdata value representing a point in time.