pub enum TextEncoding {
Utf8,
Utf16Le,
Utf16Be,
}Expand description
Database text encoding (file-format §1.3, header byte 56). Determines how
TEXT column bytes are decoded; a fixed property set at database creation.
Variants§
Utf8
1 (and 0, an unwritten database): UTF-8.
Utf16Le
2: UTF-16 little-endian.
Utf16Be
3: UTF-16 big-endian.
Trait Implementations§
Source§impl Clone for TextEncoding
impl Clone for TextEncoding
Source§fn clone(&self) -> TextEncoding
fn clone(&self) -> TextEncoding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TextEncoding
Source§impl Debug for TextEncoding
impl Debug for TextEncoding
Source§impl Default for TextEncoding
impl Default for TextEncoding
Source§fn default() -> TextEncoding
fn default() -> TextEncoding
Returns the “default value” for a type. Read more
impl Eq for TextEncoding
Source§impl PartialEq for TextEncoding
impl PartialEq for TextEncoding
impl StructuralPartialEq for TextEncoding
Auto Trait Implementations§
impl Freeze for TextEncoding
impl RefUnwindSafe for TextEncoding
impl Send for TextEncoding
impl Sync for TextEncoding
impl Unpin for TextEncoding
impl UnsafeUnpin for TextEncoding
impl UnwindSafe for TextEncoding
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