SHARE
TWEET

Untitled

a guest Jan 24th, 2020 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     let update_status = UpdateStatus::load(&file);
  2.     let update_status = match update_status {
  3.         Ok(value) => value,
  4.         Err(_) => {
  5.             file.set_len(0);
  6.             UpdateStatus::from_result(update_status).store(&mut file);
  7.             return sleep_after_fail;
  8.         }
  9.     };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top