Crate pocket_relay_database

Crate pocket_relay_database 

Source

Modules§

interfaces

Enums§

DatabaseConnection
Handle a database connection depending on the backend enabled by the feature flags. This creates a database pool.
DbErr
An error from unsuccessful database operations
PlayerRole
Enum for the different roles that a player could have used to determine their permissions to access different server functionality

Functions§

init
Connects to the database returning a Database connection which allows accessing the database without accessing sea_orm

Type Aliases§

DbResult
Database error result type
GalaxyAtWar
Player
PlayerData