Struct sqlite_rs::header::SuggestedCacheSize
source · pub struct SuggestedCacheSize(/* private fields */);Expand description
Suggested cache size (4 Bytes)
The 4-byte big-endian signed integer at offset 48 is the suggested cache size in pages for the database file. The value is a suggestion only and SQLite is under no obligation to honor it. The absolute value of the integer is used as the suggested size. The suggested cache size can be set using the default_cache_size pragma.
Methods from Deref<Target = u32>§
pub const MIN: u32 = 0u32
pub const MAX: u32 = 4_294_967_295u32
pub const BITS: u32 = 32u32
Trait Implementations§
source§impl Debug for SuggestedCacheSize
impl Debug for SuggestedCacheSize
source§impl Deref for SuggestedCacheSize
impl Deref for SuggestedCacheSize
source§impl PartialEq<SuggestedCacheSize> for SuggestedCacheSize
impl PartialEq<SuggestedCacheSize> for SuggestedCacheSize
source§fn eq(&self, other: &SuggestedCacheSize) -> bool
fn eq(&self, other: &SuggestedCacheSize) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for SuggestedCacheSize
impl StructuralEq for SuggestedCacheSize
impl StructuralPartialEq for SuggestedCacheSize
Auto Trait Implementations§
impl RefUnwindSafe for SuggestedCacheSize
impl Send for SuggestedCacheSize
impl Sync for SuggestedCacheSize
impl Unpin for SuggestedCacheSize
impl UnwindSafe for SuggestedCacheSize
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