Enum basex::errors::ClientError [−][src]
pub enum ClientError {
Io(Error),
Utf8Parse(FromUtf8Error),
Auth,
CommandFailed {
message: String,
},
QueryFailed(QueryFailed),
}
Expand description
Variants
Io(Error)
Tuple Fields
0: Error
The database connection stream or parsing arguments has resulted in an error.
Utf8Parse(FromUtf8Error)
Tuple Fields
The byte sequence being parsed is not a valid UTF-8 sequence.
Auth
The provided credentials for authorizing are invalid.
CommandFailed
Fields
message: String
The command was processed but failed to get the expected result.
QueryFailed(QueryFailed)
Tuple Fields
0: QueryFailed
The query was processed but failed to get the expected result.
Trait Implementations
Performs the conversion.
Performs the conversion.