pub fn validated(name: impl Into<BString>) -> Result<BString, Error>
Expand description

Return name if it is valid or convert it into an Error.