{ "crate": "anyhow", "module": "ensure", "usages": [ { "symbol": "new", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(0:142 ~ anyhow[2a3f]::ensure::{impl#2}::new)", "user_crate": "anyhow", "used_crate": "anyhow" }, { "symbol": "is_ok", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(1:11073 ~ core[4720]::result::{impl#0}::is_ok)", "user_crate": "anyhow", "used_crate": "core" }, { "symbol": "new_debug", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(1:11872 ~ core[4720]::fmt::rt::{impl#0}::new_debug)", "user_crate": "anyhow", "used_crate": "core" }, { "symbol": "new_v1", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(1:11899 ~ core[4720]::fmt::rt::{impl#1}::new_v1)", "user_crate": "anyhow", "used_crate": "core" }, { "symbol": "new", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(0:142 ~ anyhow[2a3f]::ensure::{impl#2}::new)", "user_crate": "anyhow", "used_crate": "anyhow" }, { "symbol": "is_ok", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(1:11073 ~ core[4720]::result::{impl#0}::is_ok)", "user_crate": "anyhow", "used_crate": "core" }, { "symbol": "new_debug", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(1:11872 ~ core[4720]::fmt::rt::{impl#0}::new_debug)", "user_crate": "anyhow", "used_crate": "core" }, { "symbol": "new_v1", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(1:11899 ~ core[4720]::fmt::rt::{impl#1}::new_v1)", "user_crate": "anyhow", "used_crate": "core" }, { "symbol": "as_str", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(0:144 ~ anyhow[2a3f]::ensure::{impl#2}::as_str)", "user_crate": "anyhow", "used_crate": "anyhow" }, { "symbol": "as_str", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(0:144 ~ anyhow[2a3f]::ensure::{impl#2}::as_str)", "user_crate": "anyhow", "used_crate": "anyhow" }, { "symbol": "len", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(1:15149 ~ core[4720]::str::{impl#0}::len)", "user_crate": "anyhow", "used_crate": "core" }, { "symbol": "len", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(1:15149 ~ core[4720]::str::{impl#0}::len)", "user_crate": "anyhow", "used_crate": "core" }, { "symbol": "len", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(1:15149 ~ core[4720]::str::{impl#0}::len)", "user_crate": "anyhow", "used_crate": "core" }, { "symbol": "with_capacity", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(2:6421 ~ alloc[27b0]::string::{impl#0}::with_capacity)", "user_crate": "anyhow", "used_crate": "alloc" }, { "symbol": "push_str", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(2:6448 ~ alloc[27b0]::string::{impl#0}::push_str)", "user_crate": "anyhow", "used_crate": "alloc" }, { "symbol": "push_str", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(2:6448 ~ alloc[27b0]::string::{impl#0}::push_str)", "user_crate": "anyhow", "used_crate": "alloc" }, { "symbol": "push_str", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(2:6448 ~ alloc[27b0]::string::{impl#0}::push_str)", "user_crate": "anyhow", "used_crate": "alloc" }, { "symbol": "push_str", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(2:6448 ~ alloc[27b0]::string::{impl#0}::push_str)", "user_crate": "anyhow", "used_crate": "alloc" }, { "symbol": "push_str", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(2:6448 ~ alloc[27b0]::string::{impl#0}::push_str)", "user_crate": "anyhow", "used_crate": "alloc" }, { "symbol": "push", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(2:6458 ~ alloc[27b0]::string::{impl#0}::push)", "user_crate": "anyhow", "used_crate": "alloc" }, { "symbol": "msg", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(0:183 ~ anyhow[2a3f]::error::{impl#0}::msg)", "user_crate": "anyhow", "used_crate": "anyhow" }, { "symbol": "msg", "kind": "method_call", "usage_count": 1, "usage_type": "MethodCall", "node_type": "Item", "user_def_id": "DefId(0:148 ~ anyhow[2a3f]::ensure::render)", "used_def_id": "DefId(0:183 ~ anyhow[2a3f]::error::{impl#0}::msg)", "user_crate": "anyhow", "used_crate": "anyhow" } ] }