Crate serde_encom

source ·

Macros

Structs

  • A structure that deserializes EnCom into Rust values.
  • This type represents all possible errors that can occur when serializing or deserializing EnCom data.
  • EnCom input source that reads from a std::io input stream.
  • Represents an EnCom key/value type.
  • Represents an EnCom number, whether integer or floating point.
  • Serializer whose output is a Value.
  • EnCom input source that reads from a slice of bytes.
  • EnCom input source that reads from a UTF-8 string.

Enums

  • A view into a single entry in a map, which may either be vacant or occupied. This enum is constructed from the entry method on Map.
  • Categorizes the cause of a serde_encom::Error.
  • Represents any valid EnCom value.

Traits

  • A type that can be used to index into a serde_encom::Value.
  • Trait used by the deserializer for iterating over input. This is manually “specialized” for iterating over &u8. Once feature(specialization) is stable we can use actual specialization.

Functions

  • Deserialize an instance of type T from an IO stream of EnCom.
  • Deserialize an instance of type T from bytes of EnCom text.
  • Deserialize an instance of type T from a string of EnCom text.
  • Interpret a serde_encom::Value as an instance of type T.
  • Serialize the given data structure as a String of EnCom.
  • Serialize the given data structure as a pretty-printed String of EnCom.
  • Convert a T into serde_encom::Value which is an enum that can represent any valid EnCom data.
  • Serialize the given data structure as an EnCom byte vector.
  • Serialize the given data structure as a pretty-printed EnCom byte vector.
  • Serialize the given data structure as EnCom into the IO stream.
  • Serialize the given data structure as pretty-printed EnCom into the IO stream.

Type Aliases

  • Alias for a Result with the error type serde_encom::Error.