Enum reql::Document[][src]

pub enum Document<T: DeserializeOwned + Send> {
    Expected(T),
    Unexpected(Value),
}

The JSON document returned by the server

Variants

Trait Implementations

impl<T: Debug + DeserializeOwned + Send> Debug for Document<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Clone + DeserializeOwned + Send> Clone for Document<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<T> Send for Document<T>

impl<T> Sync for Document<T> where
    T: Sync