Skip to main content

extract_result_types

Function extract_result_types 

Source
pub fn extract_result_types(ty: &Type) -> Option<(Type, Type)>
Expand description

Check if a type is Result<T, E> and extract T and E