pub fn sender<T: Message<Result = ()>>(&self) -> Sender<T>
    where
        A: Handler<T>,
    {
        let addr = self.clone();
        Sender(Box::new(move |msg| {
            let mut addr = addr.clone();
            addr.send(msg)
        }))
    }
/// Create a `Sender<T>` for a specific message type
Create a `Sender` for a specific message type
Create a ` Sender ` for a specific message type
pub fn sender<T: Message<Result = ()>>(&self) -> Sender<T>
    where
        A: Handler<T>,
    {
        let addr = self.clone();
        Sender(Box::new(move |msg| {
            let mut addr = addr.clone();
            addr.send(msg)
        }))
    }
pub fn sender < T : Message < Result = ( ) > > ( & self ) -> Sender < T > where A : Handler < T > , { let addr = self . clone ( ) ; Sender ( Box :: new ( move | msg | { let mut addr = addr . clone ( ) ; addr . send ( msg ) } ) ) }
Create a `Sender<T>` for a specific message type
Create a ` Sender<T > ` for a specific message type
&self
&self