Enum exar::DatabaseError 
                   
                       [−]
                   
               [src]
pub enum DatabaseError {
    AuthenticationError,
    ConnectionError,
    EventStreamError(EventStreamError),
    IoError(ErrorKind, String),
    ParseError(ParseError),
    SubscriptionError,
    ValidationError(ValidationError),
}A list specifying categories of database error.
Variants
AuthenticationErrorThe credentials used to connect to the database are either missing or invalid.
ConnectionErrorThe connection to the database failed.
EventStreamError(EventStreamError)The event stream has been closed unexpectedly.
IoError(ErrorKind, String)An I/O error occurred.
ParseError(ParseError)The parsing of an event from the log file failed.
SubscriptionErrorThe attempted subscription failed.
ValidationError(ValidationError)The validation of the event failed.
Methods
impl DatabaseError[src]
fn from_io_error(err: IoError) -> DatabaseError
Returns a DatabaseError from the given std::io::Error.
Trait Implementations
impl Eq for DatabaseError[src]
impl PartialEq for DatabaseError[src]
fn eq(&self, __arg_0: &DatabaseError) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &DatabaseError) -> bool
This method tests for !=.
impl Debug for DatabaseError[src]
impl Clone for DatabaseError[src]
fn clone(&self) -> DatabaseError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl ToTabSeparatedString for DatabaseError[src]
fn to_tab_separated_string(&self) -> String
Returns a tab-separated string from the value.
impl FromTabSeparatedStr for DatabaseError[src]
fn from_tab_separated_str(s: &str) -> Result<DatabaseError, ParseError>
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]
fn fmt(&self, f: &mut Formatter) -> DisplayResult
Formats the value using the given formatter.