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§
Sourcefn busy_timeout(&self) -> Result<i32, ConnectionError>
fn busy_timeout(&self) -> Result<i32, ConnectionError>
Check the busy timeout value
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 &Twhere
T: Pragmas,
impl<T> Pragmas for &Twhere
T: Pragmas,
Source§fn busy_timeout(&self) -> Result<i32, ConnectionError>
fn busy_timeout(&self) -> Result<i32, ConnectionError>
Check the busy timeout value