[−][src]Enum diesel::result::ConnectionError
Errors which can occur during Connection::establish
Variants
InvalidCString(NulError)The connection URL contained a NUL byte.
BadConnection(String)The database returned an error.
InvalidConnectionUrl(String)The connection URL could not be parsed.
CouldntSetupConfiguration(Error)Diesel could not configure the database connection.
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 PartialEq<ConnectionError> for ConnectionError[src]
impl PartialEq<ConnectionError> for ConnectionErrorfn eq(&self, other: &ConnectionError) -> bool[src]
fn eq(&self, other: &ConnectionError) -> boolfn ne(&self, other: &ConnectionError) -> bool[src]
fn ne(&self, other: &ConnectionError) -> boolimpl From<NulError> for ConnectionError[src]
impl From<NulError> for ConnectionErrorimpl Display for ConnectionError[src]
impl Display for ConnectionErrorimpl Debug for ConnectionError[src]
impl Debug for ConnectionErrorimpl Error for ConnectionError[src]
impl Error for ConnectionErrorAuto Trait Implementations
impl Send for ConnectionError
impl Send for ConnectionErrorimpl Sync for ConnectionError
impl Sync for ConnectionErrorBlanket Implementations
impl<T> IntoSql for T[src]
impl<T> IntoSql for Tfn into_sql<T>(self) -> AsExprOf<Self, T> where
Self: AsExpression<T> + Sized, [src]
fn into_sql<T>(self) -> AsExprOf<Self, T> where
Self: AsExpression<T> + Sized, Convert self to an expression for Diesel's query builder. Read more
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T> where
&'a Self: AsExpression<T>, [src]
fn as_sql<'a, T>(&'a self) -> AsExprOf<&'a Self, T> where
&'a Self: AsExpression<T>, Convert &self to an expression for Diesel's query builder. Read more
impl<T> ToString for T where
T: Display + ?Sized, [src]
impl<T> ToString for T where
T: Display + ?Sized, impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeIdimpl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T[src]
fn borrow_mut(&mut self) -> &mut T