pub fn validate_name(
s: &(impl AsRef<[u8]> + ?Sized),
) -> Result<&str, ValidateNameError>Expand description
Checks a given &u8 to match the restrictions for StorePath::name, and returns the name as &str if successful.
pub fn validate_name(
s: &(impl AsRef<[u8]> + ?Sized),
) -> Result<&str, ValidateNameError>Checks a given &u8 to match the restrictions for StorePath::name, and returns the name as &str if successful.