Module reql::prelude [] [src]

Prelude

Reexports

pub use command::Response;

Enums

Value

Represents a JSON value

Traits

Future

Trait for types which are a placeholder of a value that will become available at possible some later point in time.

Stream

A stream of values, not all of which have been produced yet.

Functions

from_iter

Decodes a json value from an iterator over an iterator Iterator<Item=io::Result<u8>>.

from_reader

Decodes a json value from a std::io::Read.

from_slice

Decodes a json value from a byte slice &[u8].

from_str

Decodes a json value from a &str.

from_value

Shortcut function to decode a JSON Value into a T

to_string

Encode the specified struct into a json String buffer.

to_value

Shortcut function to encode a T into a JSON Value

to_vec

Encode the specified struct into a json [u8] buffer.