[][src]Function actix_mock_helper::simple_mock_actor

pub fn simple_mock_actor<A: Actor, Msg: Message, Cb: FnMut(&Msg) -> Msg::Result>(
    cb: Cb
) -> Addr<Mocker<A>> where
    Msg: 'static,
    Cb: 'static, 

reduced boilerplate helper for if you have just a single message you expect.