Module fourleaf::de [] [src]

Defines traits and utilities for high-level deserialisation.

Modules

style

Marker structs indicating the "style" of deserialisation to use.

Structs

Config

Run-time configuration for deserialisation.

Context

Tracks contextual information during deserialisation.

Enums

Error

Errors that can be produced during deserialisation.

Traits

Deserialize

Trait for high-level deserialisation.

Functions

from_reader

Deserialises an instance of T from the given reader.

from_slice_borrow

Deserialises an instance of T from the given byte slice.

from_slice_copy

Deserialises an instance of T from the given byte slice.

from_stream_borrow

Deserialises an instance of T from the given stream.

from_stream_copy

Deserialises an instance of T from the given stream.

Type Definitions

Result

The general result type returned by deserialising functions.