Crate smol_db_client

Source
Expand description

Library containing the structs that manage the client to connect to smol_db

Modules§

client_error
Contains various error enums that a client may return on an operation with a database
db_settings
Module containing a DBSettings struct, a struct that represents the various settings a database has.
prelude
Easy usable module containing everything needed to use the client library normally

Structs§

SmolDbClient
SmolDbClient struct used for communicating to the database. This struct has implementations that allow for end to end communication with the database server.

Enums§

DBPacketResponseError
Represents the various types of errors that can occur when an error is returned in a db packet response
DBSuccessResponse
Represents the various types of successful responses that accessing the database can be.
Role
Represents the role a user has in a db, given a key.