Skip to main content

mask_text_after

Function mask_text_after 

Source
pub fn mask_text_after(before: &str, text: &str) -> String
Expand description

text masked as mask_text masks it, read after before, the text just before it, which is masked with it but not shown: a value begun in before (a quoted one going on over lines, a password whose name is there) is hidden in text too. A part of a log is masked so, the bytes before it as before.