ok abstract method

Option<Ok<T>> ok()

Safely gets the Ok instance. Returns a Some on Ok, or a None on Err.

Implementation

Option<Ok<T>> ok();