Struct mpot_http::mail::message_filters::FinalizeRecipients
source · pub struct FinalizeRecipients;
Expand description
Assuming there are no more changes to be done on the post, it finalizes
which list subscriptions will receive the post in post.action
field.
Trait Implementations§
source§impl PostFilter for FinalizeRecipients
impl PostFilter for FinalizeRecipients
source§fn feed<'p, 'list>(
self: Box<FinalizeRecipients, Global>,
post: &'p mut Post,
ctx: &'p mut ListContext<'list>
) -> Result<(&'p mut Post, &'p mut ListContext<'list>), ()>
fn feed<'p, 'list>( self: Box<FinalizeRecipients, Global>, 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
.