Struct gmime::FilterFrom[]

pub struct FilterFrom(_, _);

A filter for armoring or escaping lines beginning with "From ".

Implements

FilterExt

Methods

impl FilterFrom
[src]

Creates a new GMimeFilterFrom filter. If mode is FilterFromMode::Armor, the from-filter will encode from lines using the quoted-printable encoding resulting in "=46rom ". Using the FilterFromMode::Default or FilterFromMode::Escape mode (they are the same), from lines will be escaped to ">From ".

Note: If you plan on using a from-filter in mode ARMOR, you should remember to also use a FilterBasic filter with an encoding of ContentEncoding::Quotedprintable.

mode

filter mode

Returns

a new from filter with mode mode.

Trait Implementations

impl Clone for FilterFrom

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for FilterFrom

Formats the value using the given formatter. Read more

impl Hash for FilterFrom

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl StaticType for FilterFrom

Returns the type identifier of Self.

impl<T: IsA<Object>> PartialEq<T> for FilterFrom

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

This method tests for !=.

impl Eq for FilterFrom

impl IsA<Filter> for FilterFrom

impl IsA<Object> for FilterFrom

Auto Trait Implementations

impl !Send for FilterFrom

impl !Sync for FilterFrom