pub trait EnforceSecret {
const ENFORCE_SECRET_PROPERTIES: Set<&'static str> = _;
// Provided methods
fn enforce_secret<'a>(
prop_iter: impl Iterator<Item = &'a str>,
) -> Result<()> { ... }
fn enforce_one(prop: &str) -> Result<()> { ... }
}
Provided Associated Constants§
const ENFORCE_SECRET_PROPERTIES: Set<&'static str> = _
Provided Methods§
fn enforce_secret<'a>(prop_iter: impl Iterator<Item = &'a str>) -> Result<()>
fn enforce_one(prop: &str) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.