Struct mailpot::mail::message_filters::AddListHeaders
source · pub struct AddListHeaders;
Expand description
Add List-*
headers
Trait Implementations§
source§impl PostFilter for AddListHeaders
impl PostFilter for AddListHeaders
source§fn feed<'p, 'list>(
self: Box<Self>,
post: &'p mut Post,
ctx: &'p mut ListContext<'list>
) -> Result<(&'p mut Post, &'p mut ListContext<'list>), ()>
fn feed<'p, 'list>( self: Box<Self>, post: &'p mut Post, ctx: &'p mut ListContext<'list> ) -> Result<(&'p mut Post, &'p mut ListContext<'list>), ()>
Feed post into the filter. Perform modifications to
post
and / or
ctx
, and return them with Result::Ok
unless you want to the
processing to stop and return an Result::Err
.