Function staticdir::errors::io_to_iron
[−]
[src]
pub fn io_to_iron(err: Error) -> IronError
Maps std::io::Error
to iron::prelude::IronError
. This function may be useful when dealing with IO errors while implementing custom ResponseStrategy
.