Module smol_db_client::prelude
source · Expand description
Easy usable module containing everything needed to use the client library normally
Re-exports§
pub use crate::client_error;
pub use crate::client_error::ClientError::DBResponseError;
pub use crate::SmolDbClient;
pub use smol_db_common::db_packets::db_packet_response::DBSuccessResponse::SuccessNoData;
pub use smol_db_common::db_packets::db_packet_response::DBSuccessResponse::SuccessReply;
pub use smol_db_common::db::Role::*;
pub use smol_db_common::db_packets::db_packet_response::DBPacketResponseError::*;
Structs§
- A struct that describes the name of a database to be searched through.
- Struct describing settings used when creating a db.
Enums§
- Represents the various types of successful responses that accessing the database can be.
- Represents the role a user has in a db, given a key.