Enum bonsaidb::server::DefaultPermissions [−][src]
pub enum DefaultPermissions {
AllowAll,
Permissions(Permissions),
}
Expand description
The default permissions to use for all connections to the server.
Variants
AllowAll
Allow all permissions. Do not use outside of completely trusted environments.
Permissions(Permissions)
Tuple Fields
0: Permissions
A defined set of permissions.
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DefaultPermissions
impl Send for DefaultPermissions
impl Sync for DefaultPermissions
impl Unpin for DefaultPermissions
impl UnwindSafe for DefaultPermissions
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more