fn validate_name(s: &[u8]) -> Result<&StorePathName, ParseStorePathNameError>Expand description
Checks a given &[u8] to match the restrictions for StorePathName, and
returns the name as &StorePathName if successful.
fn validate_name(s: &[u8]) -> Result<&StorePathName, ParseStorePathNameError>Checks a given &[u8] to match the restrictions for StorePathName, and
returns the name as &StorePathName if successful.