Trait gmime::FilterWindowsExt [−][src]
pub trait FilterWindowsExt { fn is_windows_charset(&self) -> bool; fn real_charset(&self) -> Option<String>; }
Required Methods
fn is_windows_charset(&self) -> bool
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.
fn real_charset(&self) -> Option<String>
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
impl<O: IsA<FilterWindows>> FilterWindowsExt for O