Enum exar::DatabaseError [] [src]

pub enum DatabaseError {
    AuthenticationError,
    ConnectionError,
    EventStreamError(EventStreamError),
    IoError(ErrorKindString),
    ParseError(ParseError),
    SubscriptionError,
    ValidationError(ValidationError),
}

A list specifying categories of database error.

Variants

The credentials used to connect to the database are either missing or invalid.

The connection to the database failed.

The event stream has been closed unexpectedly.

An I/O error occurred.

The parsing of an event from the log file failed.

The attempted subscription failed.

The validation of the event failed.

Methods

impl DatabaseError
[src]

Returns a DatabaseError from the given std::io::Error.

Trait Implementations

impl Clone for DatabaseError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for DatabaseError
[src]

Formats the value using the given formatter.

impl PartialEq for DatabaseError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for DatabaseError
[src]

impl ToTabSeparatedString for DatabaseError
[src]

Returns a tab-separated string from the value.

impl FromTabSeparatedStr for DatabaseError
[src]

Returns an instance of Self from a tab-separated string slice or a ParseError if a failure occurs while parsing the string. Read more

impl Display for DatabaseError
[src]

Formats the value using the given formatter. Read more