fn try_from(room_id: &'a str) -> Result<Self, Error> {
        let (alias, host, port) = parse_id('#', room_id)?;

        Ok(RoomAliasId {
            alias: alias.to_owned(),
            hostname: host,
            port: port,
        })
    }
/// Attempts to create a new Matrix room alias ID from a string representation.
///
/// The string must include the leading # sigil, the alias, a literal colon, and a valid
/// server name.
Attempts to create a new Matrix room alias ID from a string representation.
The string must include the leading # sigil, the alias, a literal colon, and a valid
server name.
Attempts to create a new Matrix room alias ID from a string representation . The string must include the leading # sigil the alias a literal colon and a valid server name .
fn try_from(room_id: &'a str) -> Result<Self, Error> {
        let (alias, host, port) = parse_id('#', room_id)?;
        Ok(RoomAliasId {
            alias: alias.to_owned(),
            hostname: host,
            port: port,
        })
    }
fn try_from ( room_id : & ' a str ) -> Result < Self , Error > { let ( alias , host , port ) = parse_id ( '#' , room_id ) ? ; Ok ( RoomAliasId { alias : alias . to_owned ( ) , hostname : host , port : port , } ) }
Attempts to create a new Matrix room alias ID from a string representation.
Attempts to create a new Matrix room alias ID from a string representation .
room_id
&'a str