1 viewer
rust 1,863,595 · typescript 235,976 · javascript 133,240 · python 20,426 · 6,417 files · digest b3b8c6dd2bb2 · built in 2.5 s · crystals off
crates/cre8-util-secret/src/lib.rs
Items
struct SecretString impl SecretString impl Debug for SecretString impl Drop for SecretString impl Clone for SecretString impl From for SecretString impl From for SecretString impl PartialEq for SecretString impl Eq for SecretString
Functions
By call-graph weight (PageRank; 1.0 is the average function). 16 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| SecretString::newsrc/lib.rs:32 | method | 3 | 1 | 117 | 0 | 32.6 | |
| SecretString::expose_secretsrc/lib.rs:39 | method | 3 | 1 | 142 | 0 | 26.2 | |
| SecretString::is_emptysrc/lib.rs:45 | method | 3 | 1 | 0 | 0 | 0.5 | |
| SecretString::lensrc/lib.rs:51 | method | 3 | 1 | 0 | 0 | 0.5 | |
| SecretString::fmtsrc/lib.rs:57 | trait impl | 5 | 1 | 0 | 0 | 0.5 | |
| SecretString::dropsrc/lib.rs:72 | trait impl | 16 | 2 | 0 | 0 | 0.5 | |
| SecretString::clonesrc/lib.rs:91 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| SecretString::fromsrc/lib.rs:97 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| SecretString::fromsrc/lib.rs:103 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| SecretString::eqsrc/lib.rs:114 | trait impl | 10 | 3 | 0 | 0 | 0.5 | |
| debug_does_not_leak_valuesrc/lib.rs:133 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| expose_secret_returns_valuesrc/lib.rs:144 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| is_empty_and_lensrc/lib.rs:150 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| from_str_and_stringsrc/lib.rs:161 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| equality_is_value_basedsrc/lib.rs:168 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| clone_produces_independent_secretsrc/lib.rs:180 | fn | 8 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.