diesel

Module result

Source
Expand description

Errors, type aliases, and functions related to working with Result.

Structs§

DeserializeFieldError
An error occurred while deserializing a field
EmptyChangeset
Expected when an update has no changes to save.
EmptyQuery
Expected when you try to execute an empty query
UnexpectedEndOfRow
Expected more fields then present in the current row while deserializing results
UnexpectedNullError
An unexpected NULL was encountered during deserialization

Enums§

ConnectionError
Errors which can occur during Connection::establish
DatabaseErrorKind
The kind of database error that occurred.
Error
Represents all the ways that a query can fail.

Traits§

DatabaseErrorInformation
Information about an error that was returned by the database.
OptionalEmptyChangesetExtension
See the method documentation.
OptionalExtension
See the method documentation.

Type Aliases§

ConnectionResult
A specialized result type for establishing connections.
QueryResult
A specialized result type for queries.