Skip to main content

checked

Function checked 

Source
pub fn checked<R>(run: impl FnOnce() -> Result<R, Error>) -> Result<R, Error>
Expand description

Checked eager entry for Rust and Python callers. Returns direct failures and, when no slot is active, the first recorded failure. With an active slot, recorded failures remain for its enclosing operation to collect.