Skip to main content

CommandScopeSource

Trait CommandScopeSource 

Source
pub trait CommandScopeSource<S: Clone> {
    // Required method
    fn command_scope(
        &self,
        privilege_subject: Option<&RoleReference>,
        relations_bound: bool,
    ) -> Result<CteScope<S>, SQLError>;
}
Expand description

Capture catalog, namespace, trigger transition, and privilege state for a command.

Required Methods§

Source

fn command_scope( &self, privilege_subject: Option<&RoleReference>, relations_bound: bool, ) -> Result<CteScope<S>, SQLError>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§