Skip to main content

ret

Function ret 

pub fn ret<T>(i: <T as MonadicReturn>::Inner) -> T
where T: MonadicReturn,
Expand description

Wraps a value i as Some(i), Ok(i) or something similar of type T.