Enum diesel::result::ConnectionError
[−]
[src]
pub enum ConnectionError {
InvalidCString(NulError),
BadConnection(String),
InvalidConnectionUrl(String),
CouldntSetupConfiguration(Error),
// some variants omitted
}Variants
InvalidCString(NulError)BadConnection(String)InvalidConnectionUrl(String)CouldntSetupConfiguration(Error)Diesel may try to automatically set session specific configuration
values, such as UTF8 encoding, or enabling the || operator on MySQL.
This variant is returned if an error occurred executing the query to set
those options. Diesel will never affect global configuration.
Trait Implementations
impl Debug for ConnectionError[src]
impl From<NulError> for ConnectionError[src]
impl Display for ConnectionError[src]
fn fmt(&self, f: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more