Skip to main content

WritePragma

Trait WritePragma 

Source
pub trait WritePragma: Pragma {
    type Argument<'a>: PragmaArgument;
}
Available on crate feature __sqlite-shared only.
Expand description

A pragma that can be assigned an Argument.

Never assign secrets this way, since Instrumentation, on_trace and on_authorize observe the statement.

Required Associated Types§

Source

type Argument<'a>: PragmaArgument

The argument assigned to the pragma, accepted as any type converting into it.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§