devela::all

Function sok

Source
pub const fn sok<T, E>(value: T) -> OptRes<T, E> 
Expand description

Wraps the given OptRes value in a Some(Ok(value)).

See also: serr.