pub fn from_string(handle_name: &str, value: String) -> Result<Self, String> {
        if value.contains('/') {
            Err(format!(
                "A {} key must not contain any '/' character, but got: {:?}",
                handle_name, value
            ))
        } else {
            Ok(HandleKey(value))
        }
    }
/// Tries to create a `HandleKey` from a handle name and value.
Tries to create a `HandleKey` from a handle name and value.
Tries to create a ` HandleKey ` from a handle name and value .
pub fn from_string(handle_name: &str, value: String) -> Result<Self, String> {
        if value.contains('/') {
            Err(format!(
                "A {} key must not contain any '/' character, but got: {:?}",
                handle_name, value
            ))
        } else {
            Ok(HandleKey(value))
        }
    }
pub fn from_string ( handle_name : & str , value : String ) -> Result < Self , String > { if value . contains ( '/' ) { Err ( format ! ( " " handle_name value ) ) } else { Ok ( HandleKey ( value ) ) } }
Tries to create a `HandleKey` from a handle name and value.
Tries to create a ` HandleKey ` from a handle name and value .
handle_name
&str
value
String
handle_name
&str
value
String