some abstract method

Result<Some<T>> some()

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

Implementation

Result<Some<T>> some();