Enum libpq::Encoding[][src]

#[repr(i32)]
pub enum Encoding {
Show 42 variants SQL_ASCII, EUC_JP, EUC_CN, EUC_KR, EUC_TW, EUC_JIS_2004, UTF8, MULE_INTERNAL, LATIN1, LATIN2, LATIN3, LATIN4, LATIN5, LATIN6, LATIN7, LATIN8, LATIN9, LATIN10, WIN1256, WIN1258, WIN866, WIN874, KOI8R, WIN1251, WIN1252, ISO_8859_5, ISO_8859_6, ISO_8859_7, ISO_8859_8, WIN1250, WIN1253, WIN1254, WIN1255, WIN1257, KOI8U, SJIS, BIG5, GBK, UHC, GB18030, JOHAB, SHIFT_JIS_2004,
}

Variants

SQL_ASCII

EUC_JP

EUC_CN

EUC_KR

EUC_TW

EUC_JIS_2004

UTF8

MULE_INTERNAL

LATIN1

LATIN2

LATIN3

LATIN4

LATIN5

LATIN6

LATIN7

LATIN8

LATIN9

LATIN10

WIN1256

WIN1258

WIN866

WIN874

KOI8R

WIN1251

WIN1252

ISO_8859_5

ISO_8859_6

ISO_8859_7

ISO_8859_8

WIN1250

WIN1253

WIN1254

WIN1255

WIN1257

KOI8U

SJIS

BIG5

GBK

UHC

GB18030

JOHAB

SHIFT_JIS_2004

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Converts the given value to a String. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.