[−][src]Function kagura::component::batch::web_socket::on_error
pub fn on_error<Msg>(
url: &'static str,
msg_gen: impl FnMut() -> Msg + 'static
) -> Box<dyn FnOnce(Box<dyn FnMut(Msg)>)> where
Msg: 'static,