Pragmas

Trait Pragmas 

Source
pub trait Pragmas {
    // Required methods
    fn busy_timeout(&self) -> Result<i32, ConnectionError>;
    fn set_sqlcipher_log<S: AsRef<str>>(
        &self,
        level: S,
    ) -> Result<(), ConnectionError>;
}

Required Methods§

Source

fn busy_timeout(&self) -> Result<i32, ConnectionError>

Check the busy timeout value

Source

fn set_sqlcipher_log<S: AsRef<str>>( &self, level: S, ) -> Result<(), ConnectionError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T> Pragmas for &T
where T: Pragmas,

Source§

fn busy_timeout(&self) -> Result<i32, ConnectionError>

Check the busy timeout value

Source§

fn set_sqlcipher_log<S: AsRef<str>>( &self, level: S, ) -> Result<(), ConnectionError>

Implementors§