Skip to content
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

cre8-util-secret · module crate root · src · 194 lines (109 code, 63 comment) · sha 8287f4c14533428c

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
SecretString::newsrc/lib.rs:32method31117032.6
SecretString::expose_secretsrc/lib.rs:39method31142026.2
SecretString::is_emptysrc/lib.rs:45method31000.5
SecretString::lensrc/lib.rs:51method31000.5
SecretString::fmtsrc/lib.rs:57trait impl51000.5
SecretString::dropsrc/lib.rs:72trait impl162000.5
SecretString::clonesrc/lib.rs:91trait impl31000.5
SecretString::fromsrc/lib.rs:97trait impl31010.5
SecretString::fromsrc/lib.rs:103trait impl31010.5
SecretString::eqsrc/lib.rs:114trait impl103000.5
debug_does_not_leak_valuesrc/lib.rs:133fn91010.5
expose_secret_returns_valuesrc/lib.rs:144fn41020.5
is_empty_and_lensrc/lib.rs:150fn91010.5
from_str_and_stringsrc/lib.rs:161fn51010.5
equality_is_value_basedsrc/lib.rs:168fn101010.5
clone_produces_independent_secretsrc/lib.rs:180fn81020.5

Source not readable from this process.