pub trait RoutineExecutionAuthority: RoutineSupportAuthority {
// Required methods
fn current_user_name(&self) -> String;
fn current_user_has_role_privileges(&self, role: &str) -> bool;
}Required Methods§
fn current_user_name(&self) -> String
fn current_user_has_role_privileges(&self, role: &str) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".