pub struct ConnectionGuard {
pub max_page_count: u32,
pub max_length_bytes: i32,
pub max_progress_callbacks: u64,
pub max_result_bytes: u64,
}Fields§
§max_page_count: u32The database’s largest size in pages.
max_length_bytes: i32The largest string or blob in bytes.
max_progress_callbacks: u64Progress callbacks one command may take before SQLite interrupts it. Each callback is
PROGRESS_INTERVAL virtual machine instructions.
max_result_bytes: u64The most logical bytes one statement’s result may hold. Each value costs 8 bytes plus its text or blob length, and the statement stops as soon as its result passes the cap.
Trait Implementations§
Source§impl Clone for ConnectionGuard
impl Clone for ConnectionGuard
impl Copy for ConnectionGuard
Source§impl Debug for ConnectionGuard
impl Debug for ConnectionGuard
Auto Trait Implementations§
impl Freeze for ConnectionGuard
impl RefUnwindSafe for ConnectionGuard
impl Send for ConnectionGuard
impl Sync for ConnectionGuard
impl Unpin for ConnectionGuard
impl UnsafeUnpin for ConnectionGuard
impl UnwindSafe for ConnectionGuard
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more