pub type ConnectionResult<T> = Result<T, ConnectionError>;
Expand description
A specialized result type for establishing connections.
This type exists to avoid writing out diesel::result::ConnectionError
, and
is otherwise a direct mapping to Result
.
Aliased Type§
enum ConnectionResult<T> {
Ok(T),
Err(ConnectionError),
}