Enum diesel::result::Error
[−]
[src]
pub enum Error { InvalidCString(NulError), DatabaseError(String), NotFound, // 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(NulError)
DatabaseError(String)
NotFound
Trait Implementations
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
This method tests for !=
.
impl Debug for Error
[src]
impl From<NulError> for Error
[src]
impl From<TransactionError<Error>> for Error
[src]
fn from(e: TransactionError<Error>) -> Self
Performs the conversion.