Skip to main content

ensure_single_stdin

Function ensure_single_stdin 

Source
pub fn ensure_single_stdin<'a>(
    paths: impl IntoIterator<Item = &'a Path>,
) -> Result<(), SecretInputError>
Expand description

Reject multiple consumers of standard input before any secret is read.