Trait gmime::FilterWindowsExt[][src]

pub trait FilterWindowsExt {
    fn is_windows_charset(&self) -> bool;
fn real_charset(&self) -> Option<String>; }

Trait containing all FilterWindows methods.

Implementors

FilterWindows

Required Methods

Determines whether or not a Windows-CP125# charset has been detected so far.

Returns

true if the filtered stream has been detected to contain Windows-CP125# characters or false otherwise.

Figures out the real charset that the text is encoded in based on whether or not Windows-CP125# characters were found.

Returns

a const string pointer to the claimed charset if filtered text stream was found not to contain any Windows-CP125# characters or the proper Windows-CP125# charset.

Implementors