Enum rustorm::platform::PlatformError [] [src]

pub enum PlatformError {
    PostgresError(PgError),
    PostgresConnectError(PgConnectError),
}

Variants

PostgresError(PgError)PostgresConnectError(PgConnectError)

Trait Implementations

impl Debug for PlatformError
[src]

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

Formats the value using the given formatter.

impl Error for PlatformError
[src]

fn description(&self) -> &str

A short description of the error. Read more

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

The lower-level cause of this error, if any. Read more

impl Display for PlatformError
[src]

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

Formats the value using the given formatter.

impl From<PgError> for PlatformError
[src]

fn from(err: PgError) -> Self

Performs the conversion.

impl From<PgConnectError> for PlatformError
[src]

fn from(err: PgConnectError) -> Self

Performs the conversion.