Enum diesel::result::ConnectionError [] [src]

pub enum ConnectionError {
    InvalidCString(NulError),
    BadConnection(String),
}

Variants

InvalidCString
BadConnection

Trait Implementations

impl From<NulError> for ConnectionError

fn from(e: NulError) -> Self

impl Display for ConnectionError

fn fmt(&self, f: &mut Formatter) -> Result

impl StdError for ConnectionError

fn description(&self) -> &str

1.0.0fn cause(&self) -> Option<&Error>

Derived Implementations

impl Debug for ConnectionError

fn fmt(&self, __arg_0: &mut Formatter) -> Result