Skip to main content

sender_binder_for

Function sender_binder_for 

Source
pub fn sender_binder_for(
    handler: &Handler,
    actors: &HashMap<String, ActorDecl>,
) -> Option<String>
Expand description

#3328: the binder of a from email handler that captures the minted SenderIdentity — by s: Sender, or None for a binder-less handler or a handler that inherits the default (which captures nothing). Sender is a prelude actor (a local actor of the same name is its own), and is admissible only on from email, so the handler kind decides.