Function transportation::borrow_poll [−][src]
pub fn borrow_poll<T, R>(callback: T) -> R where
T: Fn(&Poll) -> R,
Run callback with a reference to the internal MIO poll for the current thread. Transportation keeps a separate poll for every thread and it is appropriate to run transportation from multiple threads simultaneously.