Enum pliantdb_core::permissions::pliant::ServerAction [−][src]
pub enum ServerAction { Connect, ListAvailableSchemas, ListDatabases, CreateDatabase, DeleteDatabase, }
Expand description
Actions that operate on a server.
Variants
Permits connecting to the server. Upon negotiating authentication, the
effective permissions of the connected party will be checked for
permissions to Connect
. If not allowed, the connection will be
terminated. (Not implemented)
Permits ServerConnection::list_databases
.
Permits ServerConnection::create_database
.
Permits ServerConnection::delete_database
.
Trait Implementations
The full name of this action.
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ServerAction
impl Send for ServerAction
impl Sync for ServerAction
impl Unpin for ServerAction
impl UnwindSafe for ServerAction
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self