Enum mobc_boltrs::Error
source · [−]pub enum Error {
ClientError {
source: Error,
},
ClientInitFailed {
message: Message,
},
InvalidAddress,
InvalidClientVersion {
version: u32,
},
InvalidMetadata {
metadata: String,
},
IoError {
source: Error,
},
ProtocolError {
source: Error,
},
}
Expand description
Variants
ClientError
Fields
source: Error
Wraps and returns an error generated by the Bolt client
ClientInitFailed
Fields
message: Message
Returned when the client fails to initialize a session with the server
InvalidAddress
Returned when an address or hostname cannot be resolved
InvalidClientVersion
Fields
version: u32
Returned when the client requests an invalid version of the database
InvalidMetadata
Fields
metadata: String
Returned when the client metadata is incorrect, such as bad authentication credentials
IoError
Fields
source: Error
Wraps and returns an error from the underlying I/O libraries
ProtocolError
Fields
source: Error
Wraps and returns a Bolt protocol error