4 ms·
Another less verbose way of handling the results of the writes is the 'and_then' method which short circuits on 'Err' or otherwise calls the given closure ( whi
by nulldata 12y ago
Another less verbose way of handling the results of the writes is the 'and_then' method which short circuits on 'Err' or otherwise calls the given closure ( which only borrows it's environment ) with the previous value and returns the 'Result'.