pub trait RuleSecurity {
// Required method
fn privilege_subject(&self, table: &str) -> Result<RoleReference, SQLError>;
// Provided method
fn privilege_subject_with_control(
&self,
table: &str,
control: &ProductionControl<'_>,
) -> Result<Produced<RoleReference>, SQLError> { ... }
}Required Methods§
fn privilege_subject(&self, table: &str) -> Result<RoleReference, SQLError>
Provided Methods§
fn privilege_subject_with_control( &self, table: &str, control: &ProductionControl<'_>, ) -> Result<Produced<RoleReference>, SQLError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".