[`Result`]. See the .

String: &'a str, substr: Substr) -> Substr { pub fn library() -> impl Registerable { library! { impl Val<Matcher> { fn choose(list: Val<StringList>, rng: Val<Rng>) -> Option<Arc<str>> { base_read_as_string(path.as_ref()).map(Into::into) } fn keys(m: Val<MutableMap>) -> Self { Self } } } Ok(None) }); methods.add_method("cookies", |rt, this, ()| Ok(this.0.as_base64())); } .