Enum diesel:: result:: Error
[−]
[src]
pub enum Error { InvalidCString(NulError), DatabaseError(String), NotFound, QueryBuilderError(Box<StdError + Send + Sync>), DeserializationError(Box<StdError + Send + Sync>), SerializationError(Box<StdError + Send + Sync>), // some variants omitted }
The generic "things can fail in a myriad of ways" enum. This type is not indended to be exhaustively matched, and new variants may be added in the future without a major version bump.
Variants
InvalidCString | ||
DatabaseError | ||
NotFound | ||
QueryBuilderError | ||
DeserializationError | ||
SerializationError |