Question 1: because it's the wrong default for robust code.
Question 2: no, you don't use unwrap in production.
Question 2: no, you don't use unwrap in production.
fn foo() -> Result<(),Error> {
// Create an event loop
let mut event_loop = try!(EventLoop::<(), u64>::new());
let sender = event_loop.channel();
for i in 0.. 5 {
try!(sender.send(i));
}
// Start it
try!(event_loop.run(&mut BearHandler(0));
}