Type Definition diesel::prelude::QueryResult[][src]

type QueryResult<T> = Result<T, Error>;

A specialized result type for queries.

This type is exported by diesel::prelude, and is generally used by any code which is interacting with Diesel. This type exists to avoid writing out diesel::result::Error, and is otherwise a direct mapping to Result.

Trait Implementations

impl<T> OptionalExtension<T> for QueryResult<T>[src]