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

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