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§
- container_
traits - Traits used for
Seq
andMap
value implementations. - env
- Access to the program environment.
- fd
- All the things related to file descriptors.
- values
- Implementations of specific
Argdata
types. Use the functions in the root of this crate to create them.
Structs§
- Argdata
Ref - A reference to an argdata value.
Either a substring of an encoded argdata value, or just a
&Argdata
. - IntValue
- Represents a signed integer value of any size.
- MapIterator
- An iterator, iterating over an argdata map.
- SeqIterator
- An iterator, iterating over an argdata sequence.
- StrValue
- Represents a string value.
- Timespec
- A point in time, relative to the unix epoch.
Enums§
- NoFit
- The reason why an
Argdata::read_*()
call didn’t return a value, when there was no read error. - NotRead
- The reason why an
Argdata::read_*()
call didn’t return a value. - Read
Error - An error while reading argdata.
- Type
- The type of an argdata value.
- Value
- A (borrowed) argdata value.
Traits§
- Argdata
- An argdata value.
- Argdata
Ext - Extra methods for
Argdata
values. - MapIterable
- Something that can be iterated over using a
MapIterator
. - SeqIterable
- Something that can be iterated over using a
SeqIterator
.
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.
i32
). - 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.