Skip to main content

GetResultExt

Trait GetResultExt 

Source
pub trait GetResultExt {
    // Required method
    fn get_res(&self, key: &str) -> Result<&usize, String>;
}

Required Methods§

Source

fn get_res(&self, key: &str) -> Result<&usize, String>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl GetResultExt for HashMap<Rc<str>, usize>

Source§

fn get_res(&self, key: &str) -> Result<&usize, String>

Implementors§