Skip to main content

StatementSettings

Trait StatementSettings 

Source
pub trait StatementSettings {
    // Required methods
    fn set_runtime_parameter(
        &self,
        name: &str,
        value: Option<&str>,
        local: bool,
    ) -> Result<(), SQLError>;
    fn reset_all_variables(&self);
    fn discard(&self, target: DiscardTarget) -> Result<(), SQLError>;
    fn load_library(&self, library: &str) -> Result<(), SQLError>;
}

Required Methods§

Source

fn set_runtime_parameter( &self, name: &str, value: Option<&str>, local: bool, ) -> Result<(), SQLError>

Source

fn reset_all_variables(&self)

Source

fn discard(&self, target: DiscardTarget) -> Result<(), SQLError>

Source

fn load_library(&self, library: &str) -> Result<(), SQLError>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§