Enum zifu::FileNameEncodingType[][src]

pub enum FileNameEncodingType {
    ExplicitRegularUTF8,
    ExplicitIrregularUTF8,
    ImplicitASCII,
    ImplicitNonASCII,
}
Expand description

Enum that represents statistics of file name encoding

UTF-8 (Regular normalization (NFC) / Irregular (HFS+ NFD-like)) / ASCII / Implicit multibyte

Variants

ExplicitRegularUTF8

genral bit #11 + NFC normalization (universal)

ExplicitIrregularUTF8

general bit #11 + non-NFC normalization (e.g. HFS+ NFD-like normalization)

Used by e.g. Finder in macOS

ImplicitASCII

no general bit #11 + ASCII (universal)

ImplicitNonASCII

no general bit #11 + non-ASCII encoding (e.g. CP437, Shift-JIS, or UTF-8)

Implementations

Regturns true if the file name is correctly decoded in almost all devices

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

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)

recently added

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.