Skip to main content

ready

Function ready 

Source
pub fn ready<T>(operation: impl FnOnce() -> Result<T>) -> Poll<Result<T>>
Expand description

Complete an intrinsically synchronous backend operation with the polling contract. The closure runs exactly once; busy errors remain errors.