pub enum DatabaseTextEncoding {
Utf8,
Utf16le,
Utf16be,
}
Expand description
The 4-byte big-endian integer at offset 56 determines the encoding used for all text strings stored in the database. A value of 1 means UTF-8. A value of 2 means UTF-16le. A value of 3 means UTF-16be. No other values are allowed. The sqlite3.h header file defines C-preprocessor macros SQLITE_UTF8 as 1, SQLITE_UTF16LE as 2, and SQLITE_UTF16BE as 3, to use in place of the numeric codes for the text encoding.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DatabaseTextEncoding
impl RefUnwindSafe for DatabaseTextEncoding
impl Send for DatabaseTextEncoding
impl Sync for DatabaseTextEncoding
impl Unpin for DatabaseTextEncoding
impl UnwindSafe for DatabaseTextEncoding
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